amberbit / translator

This is Rails 3 engine and translation backends for MongoDB and Redis.
http://amberbit.com
MIT License
99 stars 28 forks source link

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

Open bogn opened 11 years ago

bogn commented 11 years ago

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 commented 10 years ago

this needs updating in documentation indeed.