Refactor discussion reply
This commit is contained in:
parent
1319373d58
commit
494ae87840
27 changed files with 229 additions and 197 deletions
|
@ -75,7 +75,10 @@ class ProjectsController < ProjectResourceController
|
|||
|
||||
def wall
|
||||
return render_404 unless @project.wall_enabled
|
||||
@note = Note.new
|
||||
|
||||
@target_type = :wall
|
||||
@target_id = nil
|
||||
@note = @project.notes.new
|
||||
|
||||
respond_to do |format|
|
||||
format.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue