ruby on rails - How to create an action where would be a form for sign in/up with Devise? -


i building mobile version of our website , need create different views sign up/in mobile users. these 2 actions should in different controller.

my problem don't know how prepare instances sign up/in devise in different controller(s)...

how make that?

thanks

you mean want implement sign up/in in own controller?

if so, can modify routes.rb first

devise_for :users, :controllers => { :sessions => "controllername" } 

and modify controllername_controller.rb

class controllernamecontroller < devise::sessionscontroller   def create     # implementation   end    def destroy    # implementation   end end 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -