ajax notes load
This commit is contained in:
parent
8a8e77d54f
commit
74a89d9ed6
4 changed files with 17 additions and 4 deletions
4
app/views/notes/_notes_list.html.haml
Normal file
4
app/views/notes/_notes_list.html.haml
Normal file
|
@ -0,0 +1,4 @@
|
|||
- @notes.each do |note|
|
||||
- next unless note.author
|
||||
= render :partial => "notes/show", :locals => {:note => note}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue