Rails4 Subdomain with devise authentication?

71 views
Skip to first unread message

Sai Ch

unread,
Sep 17, 2014, 7:24:08 AM9/17/14
to rubyonra...@googlegroups.com
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.

--
Posted via http://www.ruby-forum.com/.

Vivek Sampara

unread,
Sep 17, 2014, 7:28:25 AM9/17/14
to rubyonra...@googlegroups.com
What is that you're looking for ? Please be precise. 

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/0b22645d4bd999e22d36d854d76b8b98%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

Robby O'Connor

unread,
Sep 17, 2014, 7:31:05 AM9/17/14
to rubyonra...@googlegroups.com

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

Robby O'Connor

unread,
Sep 17, 2014, 7:32:44 AM9/17/14
to rubyonra...@googlegroups.com

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

Robby O'Connor

unread,
Sep 17, 2014, 7:38:22 AM9/17/14
to rubyonra...@googlegroups.com

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

Reply all
Reply to author
Forward
0 new messages