activeadmin with sorcery skip_filter require_login

481 views Asked by At

I am use sorcery for my rails app, and have:

before_filter :require_login

in my application controller

However, when I do:

localhost:3000/admin

I wish to jump straight into the activeadmin login page, rather than do the normal user login first, and then activeadmin login.

I've tried:

  config.skip_before_filter :require_login

but it doesn't work at all.

Any suggestions?

0

There are 0 answers