lib/scaffolding_extensions/controller/action_controller.rb
# Adds a before filter for checking nonidempotent requests use method POST
Adds a before filter for checking nonidempotent requests use method POST
Adds a before filter for checking nonidempotent requests use method POST
def scaffold_setup_helper
        helper ScaffoldingExtensions::Helper
        helper ScaffoldingExtensions::ActionControllerHelper
        include ScaffoldingExtensions::Controller
        include ScaffoldingExtensions::ActionController
        helper_method "scaffolded_method?", "scaffolded_nonidempotent_method?", :scaffold_url, :scaffold_flash, :scaffold_session
        before_filter :scaffold_check_nonidempotent_requests
      end
def scaffold_setup_helper helper ScaffoldingExtensions :: Helper helper ScaffoldingExtensions :: ActionControllerHelper include ScaffoldingExtensions :: Controller include ScaffoldingExtensions :: ActionController helper_method "scaffolded_method?" , "scaffolded_nonidempotent_method?" , :scaffold_url , :scaffold_flash , :scaffold_session before_filter :scaffold_check_nonidempotent_requests end
Adds a before filter for checking nonidempotent requests use method POST
Adds a before filter for checking nonidempotent requests use method POST