Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2014-10-27 12:51:31 +0300
committerValery Sizov <valery@gitlab.com>2014-10-27 12:51:31 +0300
commit40c8f159a24b661e9f27dfcde492c4d2a6bbfbe2 (patch)
tree251a6bd55ca28c8b1893bba2414e91f0d58640ae /app/controllers/snippets_controller.rb
parent6280b53f305e45d0e6c474dbcf684f0015aee385 (diff)
Fix raw view for public snippets
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 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