diff options
author | Valery Sizov <valery@gitlab.com> | 2014-10-24 12:52:52 +0400 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2014-10-24 12:52:52 +0400 |
commit | 705652d62538ec29d125e0ec62bebc99ddc3af71 (patch) | |
tree | d93b9d990862b05eb72e8af73a4f6e7ecad60f89 /app/controllers/snippets_controller.rb | |
parent | c6efa56ee7039882625942ce29ea9fdeeffaa6cd (diff) |
fix for public snippet
Diffstat (limited to 'app/controllers/snippets_controller.rb')
-rw-r--r-- | app/controllers/snippets_controller.rb | 2 |
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 |