summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2014-10-27 11:51:31 +0200
committerValery Sizov <valery@gitlab.com>2014-10-27 11:51:31 +0200
commit40c8f159a24b661e9f27dfcde492c4d2a6bbfbe2 (patch)
tree251a6bd55ca28c8b1893bba2414e91f0d58640ae /app
parent6280b53f305e45d0e6c474dbcf684f0015aee385 (diff)
downloadgitlab-ce-40c8f159a24b661e9f27dfcde492c4d2a6bbfbe2.tar.gz
Fix raw view for public snippets
Diffstat (limited to 'app')
-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 987694260c6..bf3312fedc8 100644
--- a/app/controllers/snippets_controller.rb
+++ b/app/controllers/snippets_controller.rb
@@ -9,7 +9,7 @@ class SnippetsController < ApplicationController
before_filter :set_title
- skip_before_filter :authenticate_user!, only: [:index, :user_index, :show]
+ skip_before_filter :authenticate_user!, only: [:index, :user_index, :show, :raw]
respond_to :html