I was having a problem getting a form to display,
after a couple of simple tests realized my login was not
working.

I have gone back to the default

     <account-nav />

which works great.

What I need to do is be able to change the routes of where
the

&signup_url   &login_url

take you to.  This is probably
very simple, but I am a newbie to rails, ruby, and hobo.

Below are the defs for login_url, and signup_url, but I do
not know how I can over ride their default behavior without
breaking their functionality

# Login url for a given user record or user class
    def login_url(user_class=Hobo::User.default_user_model)
      send("#{user_class.name.underscore}_login_url") rescue nil
    end


    # Sign-up url for a given user record or user class
    def signup_url(user_class=Hobo::User.default_user_model)
      send("#{user_class.name.underscore}_signup_url") rescue nil
    end

The following 2 hidden fields are somewhat of my sticking point,
I am not sure where or how they are generated.

<input id="page_path" type="hidden" value="users/login"
name="page_path"/>

<input type="hidden"value="4OTcYJq9SEoAAyVDk5JXCRlAqkU
+5JnHUfG6C9+Ht0M="                         name="authenticity_token"/>


Cheers,

    jet
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to