dukechronicle / chronline

The official repository for the Duke Chronicle website
http://www.dukechronicle.com
202 stars 21 forks source link

Users (admins) not redirected back to admin subdomain on sign in #194

Open themichaellai opened 10 years ago

jimpo commented 10 years ago

This is going to be a tough one. Devise keeps track of a path to redirect to after sign in, not a url.

fny commented 10 years ago

Devise has an #after_sign_in_path_for(resource) helper that you can overwrite to create the behavior.