diff options
author | Valery Sizov <valery@gitlab.com> | 2014-10-24 12:52:52 +0400 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2014-10-24 13:52:59 +0400 |
commit | 5f7906e1635baa1aca12527ac9d9f8e84323e95d (patch) | |
tree | 5cf6f19fb7fa710e3622882ec4c5c13e634de267 /app | |
parent | e8da077d4f9b63d7d7157416dbf0dad010ea90bd (diff) |
fix for public snippet
Diffstat (limited to 'app')
-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 |