Rails4 Subdomain with devise authentication?

Hello every body..

I am trying small test job with rails4-devise-angularjs

please help me

- User can sign up with subdomain
- After signing up, redirect to his subdomain
- There are several roles : Agent, Customer, Admin
- Use Twitter Bootstrap
- use AngularJS
- Show authorized content after signing varies to roles.

What is that you’re looking for ? Please be precise.

I think he was precise…not sure how much more specific you want…

Though using pundit or cancan for handling roles is probably a good idea.

Also if you do even cursory googling, you will find your question has been answered.