#745 open
Betelgeuse

UserController should allow to control skip_before_filter :login_required

Reported by Betelgeuse | June 22nd, 2010 @ 03:58 PM | in Hobo 1.3 (Rails 3)

Situation:

  • you have :login_required globally
  • you have a custom action in UserController that you want to exclude
  • you add skip_before_filter :login_require, :only => :custom
  • you notice it breaking login

You can't call skip_before_filter twice for the same filter. To avoid having to copy paste the list from hobo sources I think hobo_user_controller should take a parameter allowing to add to the exclude list and this new addition documented somewhere in manuals.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Pages