fixed check for snippets module enabled
This commit is contained in:
parent
747292e2d3
commit
7587a3b2fc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue