lib/active_scaffold/helpers/action_link_helpers.rb
# params which mustn't be copying to nested links
params which mustn't be copying to nested links
params which mustn ' t be copying to nested links
def action_link_authorized?(link, *args)
        auth, reason =
          if link.security_method_set? || controller.respond_to?(link.security_method, true)
            controller.send(link.security_method, *args)
          else
            args.empty? ? true : args.first.authorized_for?(:crud_type => link.crud_type, :action => link.action, :reason => true)
          end
        [auth, reason]
      end
def action_link_authorized? ( link , * args ) auth , reason = if link . security_method_set? || controller . respond_to? ( link . security_method , true ) controller . send ( link . security_method , * args ) else args . empty? ? true : args . first . authorized_for? ( :crud_type => link . crud_type , :action => link . action , :reason => true ) end [ auth , reason ] end
params which mustn't be copying to nested links
params which mustn ' t be copying to nested links
link
<not_specific>
args
<not_specific>