On Thu, May 12, 2011 at 10:32 AM, Chris Habgood <[email protected]> wrote:

> I have this in my admin controller:
>
> before_filter :login_required
>   before_filter :admin_required
>
>   def admin_required
>         current_user.is_admin?
>     end
>
> _______________________________________________
> rspec-users mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/rspec-users


Hi, can you please paste the controller and controller spec?
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to