From 7587a3b2fc0e0a3e39e969172f00391c2053e8b9 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 18 Mar 2013 23:44:57 +0200 Subject: [PATCH] fixed check for snippets module enabled --- app/controllers/snippets_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- GitLab