Using catch statement in api_controller.rb to catch NotPermitted Exception, and render error message |
||
|---|---|---|
| .. | ||
| v1 | ||
| web | ||
| oembed_controller.rb | ||
| push_controller.rb | ||
| salmon_controller.rb | ||
| subscriptions_controller.rb | ||
Using catch statement in api_controller.rb to catch NotPermitted Exception, and render error message |
||
|---|---|---|
| .. | ||
| v1 | ||
| web | ||
| oembed_controller.rb | ||
| push_controller.rb | ||
| salmon_controller.rb | ||
| subscriptions_controller.rb | ||