refactored too
This commit is contained in:
parent
ca1e3d0579
commit
8a23682fc5
11 changed files with 56 additions and 53 deletions
|
@ -1,9 +1 @@
|
|||
- unless @notes.blank?
|
||||
|
||||
- if params[:last_id]
|
||||
:plain
|
||||
NoteList.prepend(#{@notes.first.id}, "#{escape_javascript(render(:partial => 'notes/notes_list'))}");
|
||||
|
||||
- if params[:first_id]
|
||||
:plain
|
||||
NoteList.append(#{@notes.last.id}, "#{escape_javascript(render(:partial => 'notes/notes_list'))}");
|
||||
= render "notes/load"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue