4 ms·
Take a look at high voltage - https://github.com/thoughtbot/high_voltage https://github.com/thoughtbot/high_voltage
by seats 15y ago
Take a look at high voltage -
https://github.com/thoughtbot/high_voltage https://github.com/thoughtbot/high_voltage
- marcamillion 15y agoThis looks interesting, but not sure it will do what I need - which is having Rails re-route requests to index.html or root_path based on if they are logged in or not...or am I missing something ?
- seats 15y agoDoesn't solve your problem directly, but it's a nice way to have static pages in your app in a manageable way. You'd want to do something along the lines of what they show in the override section and test for your authenticated session within the controller, branching appropriately.