diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-02-06 19:40:32 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-02-06 19:40:32 +0200 |
commit | 6c416aaac85fe16cd4900a686714627e9a0fcdbc (patch) | |
tree | ae08e26029513abe829ea4aea8984b9e7695cf51 /app/controllers/projects_controller.rb | |
parent | da3e34c0fdc4de47e6192b8d75ce60be7d89b6d4 (diff) | |
download | gitlab-ce-6c416aaac85fe16cd4900a686714627e9a0fcdbc.tar.gz |
Issues, MR, Wall can be enabled/disabled per project
Diffstat (limited to 'app/controllers/projects_controller.rb')
-rw-r--r-- | app/controllers/projects_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 6530f47eeed..c9ffa5b72af 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -85,6 +85,8 @@ class ProjectsController < ApplicationController # def wall + return render_404 unless @project.wall_enabled + @note = Note.new @notes = @project.common_notes.order("created_at DESC") @notes = @notes.fresh.limit(20) |