lib/rails_admin/controllers/concerns/application_concern.rb
# Try and add more bindings to the current action
# a controller action is called with
# instance_eval &@action.controller
Try and add more bindings to the current action
a controller action is called with
instance_eval &@action.controller
Try and add more bindings to the current action a controller action is called with instance_eval &@action . controller
def instance_eval(&block)
          if @action && !@action.bindings[:nested_controller_bindings_set]
            @action = @action.with(nested_bindings({controller: self, nested_controller_bindings_set: true}))
            if @action.nested_collection || @action.nested_member
              @page_name = nested_wording_for(:title)
            end
          end
          super(&block)
        end
def instance_eval ( & block ) if @action && ! @action . bindings [ :nested_controller_bindings_set ] @action = @action . with ( nested_bindings ( { controller : self , nested_controller_bindings_set : true } ) ) if @action . nested_collection || @action . nested_member @page_name = nested_wording_for ( :title ) end end super ( & block ) end
Try and add more bindings to the current action
a controller action is called with
instance_eval &@action.controller
Try and add more bindings to the current action a controller action is called with instance_eval &@action . controller
block
<not_specific>