diff options
author | Cyril <jv.cyril@gmail.com> | 2012-09-27 20:59:42 +0200 |
---|---|---|
committer | Cyril <jv.cyril@gmail.com> | 2012-09-27 20:59:42 +0200 |
commit | be18397d82ca16fefed7287c8078a9b41bf37c95 (patch) | |
tree | 1f821afcb942bdda9da1aaa6abc571d90cafe884 /app/controllers/snippets_controller.rb | |
parent | 933c5e414600d5e0170213db574ba6431c1444e4 (diff) | |
download | gitlab-ce-be18397d82ca16fefed7287c8078a9b41bf37c95.tar.gz |
rename ProjectController to ProjectResourceController
Diffstat (limited to 'app/controllers/snippets_controller.rb')
-rw-r--r-- | app/controllers/snippets_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/snippets_controller.rb b/app/controllers/snippets_controller.rb index 03e5cc73ce3..7324a4594eb 100644 --- a/app/controllers/snippets_controller.rb +++ b/app/controllers/snippets_controller.rb @@ -1,4 +1,4 @@ -class SnippetsController < ProjectController +class SnippetsController < ProjectResourceController before_filter :snippet, only: [:show, :edit, :destroy, :update, :raw] # Allow read any snippet |