diff options
Diffstat (limited to 'actionpack/lib/action_controller/flash.rb')
-rw-r--r-- | actionpack/lib/action_controller/flash.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/flash.rb b/actionpack/lib/action_controller/flash.rb index b3e39912ce..692168f230 100644 --- a/actionpack/lib/action_controller/flash.rb +++ b/actionpack/lib/action_controller/flash.rb @@ -25,9 +25,8 @@ module ActionController #:nodoc: # See docs on the FlashHash class for more details about the flash. module Flash def self.included(base) - base.send :include, InstanceMethods - base.class_eval do + include InstanceMethods alias_method_chain :assign_shortcuts, :flash alias_method_chain :process_cleanup, :flash alias_method_chain :reset_session, :flash @@ -175,4 +174,4 @@ module ActionController #:nodoc: end end end -end
\ No newline at end of file +end |