forked from asonix/mastodon
Using catch statement in api_controller.rb to catch NotPermitted Exception, and render error message |
||
---|---|---|
.. | ||
accounts_controller.rb | ||
apps_controller.rb | ||
blocks_controller.rb | ||
favourites_controller.rb | ||
follow_requests_controller.rb | ||
follows_controller.rb | ||
media_controller.rb | ||
notifications_controller.rb | ||
reports_controller.rb | ||
statuses_controller.rb | ||
timelines_controller.rb |