fixed check for snippets module enabled

This commit is contained in:
Dmitriy Zaporozhets 2013-03-18 23:44:57 +02:00
parent 747292e2d3
commit 7587a3b2fc

View file

@ -87,6 +87,6 @@ class SnippetsController < ProjectResourceController
end end
def module_enabled def module_enabled
return render_404 unless @project.snippet_enabled return render_404 unless @project.snippets_enabled
end end
end end