Open lafeber opened 12 years ago
I have battled with this issue several times before both on the CMS and on the blog. We absolutely need to keep the ability to have dynamic pages with top-level paths.
How do other CMS's handle this?
For the blog, it might help to implement the same constraints as the cms? I think this would help in not matching the assets...
I'll try to implement this based on the answer found here: http://stackoverflow.com/questions/7688023/rails-3-making-a-catch-all-route-easier-to-read-and-amend
...somewhere next week. First, I'm migrating spree_multi_currency to our version of Spree.
PS (unrelated): integrating multiple languages in the cms/blog was a breeze, it followed the same steps as spree_multi_lingual. Some migrations and a few overrides and it worked. Really cool. Hopefully I'll have time to publish some of this somewhere next month.
Hi,
Even when visiting a non-cms related page, I still see a call to pages.
I would suggest a /pages/ prefix, it's not as nice, but fixes the assets routing problem as well.
Is this an idea?
PS: If I'm the only one with this issue, my Gemfile looks like this: