summaryrefslogtreecommitdiff
path: root/app/controllers/snippets_controller.rb
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-10-24 09:39:22 +0000
committerMarin Jankovski <marin@gitlab.com>2014-10-24 09:39:22 +0000
commit8a7b864e41ebc93ea4a184734b6458404cc979a5 (patch)
tree13d4e7f0dfbfb7d77f39b317d86ce416745f789c /app/controllers/snippets_controller.rb
parent8157c6b8a557369f875413f506f34d549254de56 (diff)
parent705652d62538ec29d125e0ec62bebc99ddc3af71 (diff)
downloadgitlab-ce-8a7b864e41ebc93ea4a184734b6458404cc979a5.tar.gz
Merge branch 'fix_public_snippets' into 'master'
Fix public snippets See merge request !1214
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