Commits

bitbucket  committed 802ee16 Merge

Merge branch 'master' of https://github.com/rails/rails

  • Participants
  • Parent commits cf93efa, 5d58948

Comments (0)

Files changed (1)

File actionpack/lib/action_dispatch/http/response.rb

     alias_method :status_message, :message
 
     def respond_to?(method)
-      if method.to_sym == :to_path
+      if method.to_s == 'to_path'
         stream.respond_to?(:to_path)
       else
         super