Completely redo loading of notes with JS
This commit is contained in:
parent
1416401753
commit
e802d00996
5 changed files with 134 additions and 100 deletions
9
app/helpers/notes_helper.rb
Normal file
9
app/helpers/notes_helper.rb
Normal file
|
@ -0,0 +1,9 @@
|
|||
module NotesHelper
|
||||
def loading_more_notes?
|
||||
params[:loading_more].present?
|
||||
end
|
||||
|
||||
def loading_new_notes?
|
||||
params[:loading_new].present?
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue