Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documentation: engine mounting syntax has changed in rails 3.2.8 #8

Open
bogn opened this issue Oct 29, 2012 · 1 comment
Open

documentation: engine mounting syntax has changed in rails 3.2.8 #8

bogn opened this issue Oct 29, 2012 · 1 comment

Comments

@bogn
Copy link

bogn commented Oct 29, 2012

Had to change the mount line from the Readme from

mount Translator::Engine, :to => '/admin'

to the syntax that is shown in the comments of actionpack/lib/action_dispatch/routing/mapper.rb#L396

mount Translator::Engine => '/admin'

to make it work with rails 3.2.8. Otherwise the error "A rack application must be specified" was thrown.

@hubertlepicki
Copy link
Member

this needs updating in documentation indeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants