Commit graph

5 commits

Author SHA1 Message Date
blackst0ne
a544e46bb0 Add a rubocop rule to check if a method 'redirect_to' is used without explicitly set 'status' in 'destroy' actions of controllers 2017-06-07 09:45:16 +11:00
Cyril Jouve
1167a274c1
redirect to keys index instead of user index after a key is deleted
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-06-01 18:41:36 +02:00
Mehmet Emin İNAÇ
6a0ea605e8 Change deprecated usage of rendering without response body
`render nothing: true` has been deprecated.
For more information see [pr](https://github.com/rails/rails/pull/20336)
2016-03-16 03:16:25 +02:00
Jeroen van Baarsen
5a4ebfb47a Fixed the Rails/ActionFilter cop
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-04-20 15:39:37 +02:00
Marin Jankovski
82829ed49e Move user key manipulation in admin section to a separate controller. 2014-12-30 10:15:11 +01:00