move notes login to one controller
This commit is contained in:
parent
81092c0198
commit
215a01f63c
15 changed files with 55 additions and 46 deletions
|
@ -2,7 +2,7 @@
|
|||
= render "notes/form"
|
||||
.clear
|
||||
%hr
|
||||
%ul#notes-list= render "notes/notes_list"
|
||||
%ul#notes-list
|
||||
|
||||
:javascript
|
||||
$('.delete-note').live('ajax:success', function() {
|
||||
|
@ -22,5 +22,5 @@
|
|||
$('.attach_holder').show();
|
||||
});
|
||||
|
||||
NoteList.init("wall", #{@notes.last.try(:id) || 0}, #{@notes.first.try(:id) || 0});
|
||||
NoteList.init("#{tid}", "#{tt}", "#{project_notes_path(@project)}");
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue