add attachemnts support for wall

This commit is contained in:
Dmitriy Zaporozhets 2013-03-19 13:28:29 +02:00
parent 4d378f3c9a
commit 124a5e270e
6 changed files with 56 additions and 6 deletions

View file

@ -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

View file

@ -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(){