#164 ✓resolved
Priit Tamboom

single site mode: /admin should go directly site admin

Reported by Priit Tamboom | December 16th, 2008 @ 02:01 PM

At the moment, single site mode adva link /admin opens /admin/sites but should open instead /admin/sites/1 i think. No need to for site index when there is only one site in my mind.

If you agree, we should write test and implement it.

PS: or perhaps even alias /admin to /admin/sites/1 in single site mode? It would be nice anyhow.

Comments and changes to this ticket

  • Sven Fuchs

    Sven Fuchs January 5th, 2009 @ 03:17 PM


    I agree :)

    I'm not completely sure about the admin/sites/1 alias to just admin/ although it certainly makes sense for setups where there's only adva-cms installed.

    Could that be done by just accessing Site.multi_site_enabled? in the routes.rb? Otherwise one could also think of an additional routing_filter that just looks at the current host and sets the base_controller.site_id accordingly.

  • Sven Fuchs

    Sven Fuchs January 9th, 2009 @ 01:42 PM

    • Milestone cleared.
    • State changed from “new” to “open”
    • Assigned user changed from “Sven Fuchs” to “Marko Seppä”
  • Marko Seppä

    Marko Seppä June 18th, 2009 @ 11:00 AM

    • State changed from “open” to “resolved”

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<p>Cutting edge cms, blog, wiki, forum ... plattform.</p>

<p>Find the code on <a href="http://github.com/svenfuchs/adva_cms/tree/master">GitHub: adva cms</a></p>

<p>Part of the business application framework <a href="http://www.advabest.org/">adva best</a>.</p>