Issues, MR, Wall can be enabled/disabled per project
This commit is contained in:
parent
da3e34c0fd
commit
6c416aaac8
9 changed files with 116 additions and 26 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue