Class: Refinery::Core::DefaultRoute

Inherits:
Object
  • Object
show all
Defined in:
core/lib/refinery/core/default_route.rb

Class Method Summary collapse

Class Method Details

.loadObject


6
7
8
9
10
11
12
# File 'core/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