app/controllers/avo/dashboards/cards_controller.rb in avo-2.21.1.pre.issue1450 vs app/controllers/avo/dashboards/cards_controller.rb in avo-2.21.1.pre.pr1476

- old
+ new

@@ -19,10 +19,10 @@ raise ActionController::RoutingError.new("Not Found") if @dashboard.nil? || @dashboard.is_hidden? end def set_card @card = @dashboard.item_at_index(params[:index].to_i).tap do |card| - card.hydrate(dashboard: @dashboard, params: params) + card.hydrate(dashboard: @dashboard) end end def detect_chartkick @chartkick_installed = if @card.class.ancestors.map(&:to_s).include?("Avo::Dashboards::ChartkickCard")