Routes

24 views
Skip to first unread message

acoust...@gmail.com

unread,
Oct 30, 2013, 4:59:13 PM10/30/13
to ror_ec...@googlegroups.com
Hi,

i am tring to change the welcome page, but when i try to see it i'm always redirected to http://0.0.0.0:3000/login

It seems that root is routing to login but in my routes.rb is like de default app, i didnt change anything yet (root :to => "welcome#index").

any help??

Thanks!

David

unread,
Oct 30, 2013, 9:07:56 PM10/30/13
to ror_ec...@googlegroups.com
If you don't have products yet I redirect to the admin page...  If you aren't logged in yet you are redirected to login and then add products

Sent from my iPhone
--
You received this message because you are subscribed to the Google Groups "ror_ecommerce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ror_ecommerc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

acoust...@gmail.com

unread,
Oct 31, 2013, 4:20:18 AM10/31/13
to ror_ec...@googlegroups.com

Thanks!

But i'm tring to do a normal web page, with homepage, info pages etc & then the shop...

And i need add another databases to buy hours reservations, is there any way to add this pages
 or is better to make two separate apps, one for the normal shop and another for the normal pages??

Thanks!!

Nelson Enzo

unread,
Nov 1, 2013, 5:08:10 PM11/1/13
to ror_ec...@googlegroups.com
Of course, "it depends", but I would recommend two apps based on your description.  Managing blog like website content is distinctly different from managing a shop.  With two apps you can make changes to one without having to worry about the other.  Often you will want a "content management" like system such as Radient or Locamotive for those types of things.

Of course, you don't have to do that and can keep it all in ror-e, but then expect to do a fair amount of modification to suit your scenario.  Just my 2cents, Dave might have more wisdom.




Reply all
Reply to author
Forward
0 new messages