Sha256: dbbb242d649ec55d0321a30327a04570d4eff64a20f47c7bd6ad3dfb66f6812f

Contents?: true

Size: 355 Bytes

Versions: 11

Compression:

Stored size: 355 Bytes

Contents

module Refinery
  module Core
    class DefaultRoute

      class << self
        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
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
refinerycms-core-4.0.3 lib/refinery/core/default_route.rb
refinerycms-core-4.0.2 lib/refinery/core/default_route.rb
refinerycms-core-4.0.1 lib/refinery/core/default_route.rb
refinerycms-core-3.0.6 lib/refinery/core/default_route.rb
refinerycms-core-4.0.0 lib/refinery/core/default_route.rb
refinerycms-core-3.0.5 lib/refinery/core/default_route.rb
refinerycms-core-3.0.4 lib/refinery/core/default_route.rb
refinerycms-core-3.0.3 lib/refinery/core/default_route.rb
refinerycms-core-3.0.2 lib/refinery/core/default_route.rb
refinerycms-core-3.0.1 lib/refinery/core/default_route.rb
refinerycms-core-3.0.0 lib/refinery/core/default_route.rb