Commit Graph

5 Commits

Author SHA1 Message Date
evazion
c7f8fbbec2 app controller: standardize access denied error handling.
Refactor to use `render_error_page` to handle User::PrivilegeError
exceptions. This way these exceptions are logged to New Relic.

Changes:

* Anonymous users aren't automatically redirected to the login page.
  Instead they're taken to the access denied page, which links to the
  login/signup pages.

* JSON/XML error responses return `message` instead of `reason`.
2019-08-24 23:10:22 -05:00
r888888888
b8f14b6fee hide more pages for banned artists #2132 2016-01-27 17:06:13 -08:00
Toks
d3a67961e9 fixes #2079 2014-01-08 15:42:27 -05:00
albert
34ae712be0 fixed titles 2011-10-23 16:55:57 -04:00
albert
c6304c6e08 views 2010-11-19 16:24:17 -05:00