Skip to content

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

@bogn

Description

@bogn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions