Closed HenriPodolski closed 11 years ago
This is an issue with the installer in current stable version (2.6).
It is already fixed in master. I will back port the fix in 2.6-stable and release a new gem version later this evening.
Regards
Thomas
Am 14.06.2013 um 15:33 schrieb HenriPodolski notifications@github.com:
When I setup a new Alchemy CMS app, I get to following warning:
Alchemy not mounted! Please mount Alchemy::Engine in your config/routes.rb file. Is it possible that the generator includes this to my routes.rb file?
— Reply to this email directly or view it on GitHub.
A quick fix for now:
add:
mount Alchemy::Engine => '/'
into your routes file before running the installer.
Best
Thomas
Am 14.06.2013 um 15:33 schrieb HenriPodolski notifications@github.com:
When I setup a new Alchemy CMS app, I get to following warning:
Alchemy not mounted! Please mount Alchemy::Engine in your config/routes.rb file. Is it possible that the generator includes this to my routes.rb file?
— Reply to this email directly or view it on GitHub.
OK, thx.
Just releases 2.6.2 that includes the fix.
Please run
gem update alchemy_cms
When I setup a new Alchemy CMS app via
alchemy new my_magicpage
, I get the following warning:It could ask for the mountpoint at the CLI and add it the routes.rb file. If the mountpoint is not '/' it could add the
helper Alchemy::PagesHelper
to the application controller.Any suggestions on that? Otherwise I could add a method to bin/alchemy in magiclabs/alchemy-installer, which provides this feature.