diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-18 23:44:57 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-18 23:44:57 +0200 |
commit | 7587a3b2fc0e0a3e39e969172f00391c2053e8b9 (patch) | |
tree | c10eb129a093681d8161f7c68a889e7ef3e2cdf8 /app/controllers/snippets_controller.rb | |
parent | 747292e2d33ec77219be584fa55fc67c08f008b2 (diff) | |
download | gitlab-ce-7587a3b2fc0e0a3e39e969172f00391c2053e8b9.tar.gz |
fixed check for snippets module enabled
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 d356479330b..a2e22a670a3 100644 --- a/app/controllers/snippets_controller.rb +++ b/app/controllers/snippets_controller.rb @@ -87,6 +87,6 @@ class SnippetsController < ProjectResourceController end def module_enabled - return render_404 unless @project.snippet_enabled + return render_404 unless @project.snippets_enabled end end |