add attachemnts support for wall
This commit is contained in:
parent
4d378f3c9a
commit
124a5e270e
6 changed files with 56 additions and 6 deletions
|
@ -40,7 +40,7 @@
|
|||
= link_to 'Wiki', project_wiki_path(@project, :home)
|
||||
|
||||
- if @project.wall_enabled
|
||||
= nav_link(path: 'projects#wall') do
|
||||
= nav_link(controller: :walls) do
|
||||
= link_to 'Wall', project_wall_path(@project)
|
||||
|
||||
- if @project.snippets_enabled
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
.notes-busy.js-notes-busy
|
||||
|
||||
.js-main-target-form
|
||||
= render "notes/form"
|
||||
- if can? current_user, :write_note, @project
|
||||
= render "notes/form"
|
||||
|
||||
:javascript
|
||||
$(function(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue