summaryrefslogtreecommitdiff
path: root/app/controllers/snippets_controller.rb
diff options
context:
space:
mode:
authorCyril <jv.cyril@gmail.com>2012-09-27 20:59:42 +0200
committerCyril <jv.cyril@gmail.com>2012-09-27 20:59:42 +0200
commitbe18397d82ca16fefed7287c8078a9b41bf37c95 (patch)
tree1f821afcb942bdda9da1aaa6abc571d90cafe884 /app/controllers/snippets_controller.rb
parent933c5e414600d5e0170213db574ba6431c1444e4 (diff)
downloadgitlab-ce-be18397d82ca16fefed7287c8078a9b41bf37c95.tar.gz
rename ProjectController to ProjectResourceController
Diffstat (limited to 'app/controllers/snippets_controller.rb')
-rw-r--r--app/controllers/snippets_controller.rb2
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