这是indexloc提供的服务,不要输入任何密码
Skip to content

Add ability to specify custom mount url for admin back-end #1300

@andrewhavens

Description

@andrewhavens

We now have the ability to mount the entire Refinery engine at a custom subdirectory:

mount Refinery::Core::Engine, :at => '/subdirectory'

However, this affects both the front-end and back-end. If you wanted to access the front-end at / but the back-end at /admin_panel, there's currently no way to do this. I think it would be a useful and important feature to be able to specify the Refinery back-end url, either from a config file, or in the routes.rb file. Maybe something like this:

mount Refinery::Frontend, :at => '/'
mount Refinery::Backend, :at => '/admin_panel'

I think this is even more important for non-english speaking users. /refinery might be ok for english speaking users, but I doubt that it's easy to remember for non-english speakers.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions