class Refinery::Core::DefaultRoute

Public Class Methods

load() click to toggle source
# File lib/refinery/core/default_route.rb, line 6
def load
  Refinery::Core::Engine.routes.draw do
    namespace :admin, :path => Refinery::Core.backend_route do
      root :to => ::Refinery::Plugins.registered.in_menu.first.url
    end
  end
end