routes for devise in rails4

hi all,    i am using 3 devises for 3 models in rails4. i need routes to my devise models.the devises are client,admin,employee. when i login into client then it will go to clients dashboard, when i login into admin then it will go to admins dashboard, the employee also has the employee dashboard. if i do not enter any login then the common dashboard body message is please signin.   please let me know how to write routes for them.       Thankyou.

How about an authorization solution like cancan. Have a single sign in point and redirects based on user rights.

Thomas Chik wrote in post #1114847:

How about an authorization solution like cancan. Have a single sign in point and redirects based on user rights.

ya,but my sign in page should has the fields like        username:        password:         rememberme         signin so how can....

mack gille wrote in post #1114848:

Thomas Chik wrote in post #1114847:

How about an authorization solution like cancan. Have a single sign in point and redirects based on user rights.

ya,but my sign in page should has the fields like        username:        password:         rememberme         signin so how can....

@thomas   can you explain me clearly    thankyou