1
0
mirror of https://framagit.org/tykayn/mastodon.git synced 2023-08-25 08:33:12 +02:00
Commit Graph

2 Commits

Author SHA1 Message Date
Emelia Smith
2e59751823 Improve require_admin! and require_staff! filters ()
Previously these returns 302 redirects instead of 403s, which meant posting links to admin pages in slack caused them to unfurl, rather than stay as a link. Additionally, require_admin! doesn't appear to be actively used, on require_staff!
2018-04-03 13:07:32 +02:00
Akihiko Odaki
019f3377bb Spec Admin::BaseController () 2017-05-26 14:13:26 +02:00