]> cat aescling's git repositories - mastodon.git/commit
Removed try clause from create action in status controller
authorRakib Hasan <rmhasan@gmail.com>
Fri, 17 Feb 2017 02:58:16 +0000 (02:58 +0000)
committerRakib Hasan <rmhasan@gmail.com>
Sun, 19 Feb 2017 08:29:56 +0000 (08:29 +0000)
commit9433d03705d3aa86a059d82ffc549c699092912d
tree516778528a06a71b4c395d77cb9140932a58e3ca
parent87a6bed9e947aaad62466f072d1a27cd0f782a7d
Removed try clause from create action in status controller
Using catch statement in api_controller.rb to catch NotPermitted
Exception, and render error message
app/controllers/api/v1/statuses_controller.rb