Skip to content

Commit

Permalink
fix select all by removing fresh_when
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienpoly committed Feb 2, 2018
1 parent 3c11444 commit 27fe8f0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/controllers/todos_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ def load_and_render_index

def load_todos
@todos = Todo.belonging_to(session_user).order(created_at: :asc)
fresh_when(@todos)
# filtering_params.each do |key, value|
# @todos = @todos.public_send(key, value) if value.present?
# end
Expand Down

0 comments on commit 27fe8f0

Please sign in to comment.