givanse
givanse

Reputation: 14953

How do I change the Refinery CMS admin path?

I have done this:

MyApp::Application.routes.draw do                                                 

  get 'admin', :to => redirect('/refinery')                                      

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

end

It allows me to give to my users a friendlier URL, one that makes sense to them, but the path still changes to localhost:3000/refinery.

So, how do I do this? Without redirection perhaps?

Upvotes: 2

Views: 862

Answers (1)

ryudice
ryudice

Reputation: 37446

EDIT, sorry you actually can use the file at config/initializers/refinery/core.rb just add this line

config.backend_route= "admin"

Upvotes: 6

Related Questions