Commit 7587a3b2fc0e0a3e39e969172f00391c2053e8b9

Authored by Dmitriy Zaporozhets
1 parent 747292e2

fixed check for snippets module enabled

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/controllers/snippets_controller.rb
... ... @@ -87,6 +87,6 @@ class SnippetsController < ProjectResourceController
87 87 end
88 88  
89 89 def module_enabled
90   - return render_404 unless @project.snippet_enabled
  90 + return render_404 unless @project.snippets_enabled
91 91 end
92 92 end
... ...