Loading app/controllers/dashboard/todos_controller.rb +1 −1 Original line number Diff line number Diff line class Dashboard::TodosController < Dashboard::ApplicationController before_filter :find_todos, only: [:index, :destroy_all] before_action :find_todos, only: [:index, :destroy_all] def index @todos = @todos.page(params[:page]).per(PER_PAGE) Loading Loading
app/controllers/dashboard/todos_controller.rb +1 −1 Original line number Diff line number Diff line class Dashboard::TodosController < Dashboard::ApplicationController before_filter :find_todos, only: [:index, :destroy_all] before_action :find_todos, only: [:index, :destroy_all] def index @todos = @todos.page(params[:page]).per(PER_PAGE) Loading