Sha256: 6899c897a11bc12d26286594727929b3cf5f54fd04c4d59fe184f61945e40cfb
Contents?: true
Size: 576 Bytes
Versions: 9
Compression:
Stored size: 576 Bytes
Contents
Rails.application.routes.draw do mount Ckeditor::Engine => '/ckeditor' namespace :admin do resources :positionables, :only => [:index] do post :sort, :on => :collection end Fullstack::Admin.resources.each do |r| if r.type == :resource if "Admin::#{r.name.to_s.pluralize.camelize}Controller".safe_constantize resources r.name, :except => [:show] else resources r.name, :except => [:show], :controller => :scaffold, :_admin_resource_type => r.name end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems