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-24 12:52:52 +0400
committerValery Sizov <valery@gitlab.com>2014-10-24 12:52:52 +0400
commit705652d62538ec29d125e0ec62bebc99ddc3af71 (patch)
treed93b9d990862b05eb72e8af73a4f6e7ecad60f89 /app/controllers/snippets_controller.rb
parentc6efa56ee7039882625942ce29ea9fdeeffaa6cd (diff)
fix for public snippet
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 30fb4c5552d..987694260c6 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]
+ skip_before_filter :authenticate_user!, only: [:index, :user_index, :show]
respond_to :html