开发者

Typus Gem Rails 3 How to set path(other than "/admin")

I have been working with the latest version of typus(3.0.3) for Ruby on Rails. Setting the path used to be set this way

Typus::Configuration.options[:path_prefix] = 'backoffice'

so that "http://localhost:3000/admin" would become this "http://localhost:3000/backoffice" to gain access to the admin system.

So basically i cant find a way to set this in the new version. Any ideas on how to set this?

开发者_如何学JAVA

Any help would be greatly appreciated...


Sad to say, but it doesn't look like this is possible. I just scanned through the Typus source (branch '3-0-stable') and "admin/" is hardcoded all over the place.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜