Commit 7587a3b2 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

fixed check for snippets module enabled

parent 747292e2
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment