Renamed 'notes/notes_list' partial to 'notes/notes'
This commit is contained in:
parent
4fc66ead4f
commit
dd1b3177c9
2 changed files with 4 additions and 4 deletions
|
@ -1,15 +1,15 @@
|
|||
- unless @notes.blank?
|
||||
- if loading_more_notes?
|
||||
:plain
|
||||
NoteList.appendMoreNotes(#{@notes.last.id}, "#{escape_javascript(render 'notes/notes_list')}");
|
||||
NoteList.appendMoreNotes(#{@notes.last.id}, "#{escape_javascript(render 'notes/notes')}");
|
||||
|
||||
- elsif loading_new_notes?
|
||||
:plain
|
||||
NoteList.replaceNewNotes("#{escape_javascript(render 'notes/notes_list')}");
|
||||
NoteList.replaceNewNotes("#{escape_javascript(render 'notes/notes')}");
|
||||
|
||||
- else
|
||||
:plain
|
||||
NoteList.setContent(#{@notes.last.id}, "#{escape_javascript(render 'notes/notes_list')}");
|
||||
NoteList.setContent(#{@notes.last.id}, "#{escape_javascript(render 'notes/notes')}");
|
||||
|
||||
- else
|
||||
- if loading_more_notes?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue