Sha256: 86c6728fc35332b354f442cd7b3e5d1c41a4e62da4f3f3d77f8713051d02e31a
Contents?: true
Size: 455 Bytes
Versions: 2
Compression:
Stored size: 455 Bytes
Contents
module JavascriptAutoInclude module Helpers # = ActionController helpers # # This module makes sure that the current controller and action are available as # public variables and thus accessible for the view helper. # module ActionController def identify_controller_and_action #:nodoc: $CONTROLLER = request.parameters[:controller] $ACTION = request.parameters[:action] end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
javascript_auto_include-0.2.0 | lib/javascript_auto_include/helpers/action_controller.rb |
javascript_auto_include-0.1.0 | lib/javascript_auto_include/helpers/action_controller.rb |