forked from cybrespace/mastodon
2e59751823
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! |
||
---|---|---|
.. | ||
account_moderation_notes_controller_spec.rb | ||
accounts_controller_spec.rb | ||
base_controller_spec.rb | ||
confirmations_controller_spec.rb | ||
domain_blocks_controller_spec.rb | ||
email_domain_blocks_controller_spec.rb | ||
instances_controller_spec.rb | ||
reported_statuses_controller_spec.rb | ||
reports_controller_spec.rb | ||
resets_controller_spec.rb | ||
settings_controller_spec.rb | ||
silences_controller_spec.rb | ||
statuses_controller_spec.rb | ||
subscriptions_controller_spec.rb | ||
suspensions_controller_spec.rb | ||
two_factor_authentications_controller_spec.rb |