rbCAS / CASino

CASino is a Ruby-based Single Sign-On solution supporting the CAS standard
MIT License
331 stars 189 forks source link

Customizing routes #113

Closed mklemme closed 9 years ago

mklemme commented 9 years ago

Whats the easiest way to configure routes? Since this my cas server would be account.url.com I wanted to have the root show the users information and such instead of redirecting to sessions.

Whats the best way to configure the routes?

pencil commented 9 years ago

Not quite sure if I understood the question correctly. If you want the sessions page to redirect to a custom page, you could add something like this to the top of your routes.rb in the application that mounts the CASino engine:

get '/sessions', to: redirect('/swag')

Please let me know if that answers your question.