app/controllers/integral/backend/activities_controller.rb in integral-1.1.0 vs app/controllers/integral/backend/activities_controller.rb in integral-1.2.0
- old
+ new
@@ -1,10 +1,10 @@
module Integral
module Backend
# Activity management
class ActivitiesController < BaseController
before_action :authorize_with_klass
- before_action -> { set_grid(Integral::Grids::ActivitiesGrid) }
+ before_action -> { set_grid }
# POST /grid
# AJAX grid for activities
# TODO: Could move this grid action into index action and respond different if json request
def grid