move Wall to own resource
This commit is contained in:
parent
f3dfd22993
commit
57f3409bcc
7 changed files with 39 additions and 25 deletions
|
@ -41,7 +41,7 @@
|
|||
|
||||
- if @project.wall_enabled
|
||||
= nav_link(path: 'projects#wall') do
|
||||
= link_to 'Wall', wall_project_path(@project)
|
||||
= link_to 'Wall', project_wall_path(@project)
|
||||
|
||||
- if @project.snippets_enabled
|
||||
= nav_link(controller: :snippets) do
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
%div.wall_page
|
||||
= render "notes/reversed_notes_with_form"
|
11
app/views/walls/show.html.haml
Normal file
11
app/views/walls/show.html.haml
Normal file
|
@ -0,0 +1,11 @@
|
|||
%div.wall-page
|
||||
%ul.well-list.notes
|
||||
.notes-busy.js-notes-busy
|
||||
|
||||
.js-main-target-form
|
||||
= render "notes/form"
|
||||
|
||||
:javascript
|
||||
$(function(){
|
||||
Wall.init(#{@project.id});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue