config/routes.rb in loyal_admin-0.0.3 vs config/routes.rb in loyal_admin-0.0.4
- old
+ new
@@ -1,10 +1,18 @@
# -*- encoding : utf-8 -*-
LoyalAdmin::Engine.routes.draw do
+
constraints lambda {|request| LoyalAdmin.config.request_routes_constraints?(request) } do
root :to => 'welcome#index'
scope :loyal_admin, :path => :loyal_admin do
+ namespace :loyal_core do
+ namespace :skin do
+ resources :folders
+ resources :recipes
+ end
+ end
+
namespace :display do
resources :recipes
resources :boards
end
end