Skip to content

Commit

Permalink
Revert "Doh. Use respond_to :all."
Browse files Browse the repository at this point in the history
This reverts commit 555435e.
  • Loading branch information
josevalim committed Jan 20, 2011
1 parent 971f68f commit d018970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/devise/controllers/internal_helpers.rb
Expand Up @@ -16,7 +16,7 @@ module InternalHelpers #:nodoc:
helper_method *helpers

prepend_before_filter :is_devise_resource?
respond_to :all if mimes_for_respond_to.empty?
respond_to *Mime::SET.map(&:to_sym) if mimes_for_respond_to.empty?

Devise.routes_prepare do
skip_before_filter *Devise.mappings.keys.map { |m| :"authenticate_#{m}!" }
Expand Down

0 comments on commit d018970

Please sign in to comment.