Sha256: 398d7db9ef34a801083b6dd742593cf21bd2d3113bb8682d2bb5ac08058e47b9
Contents?: true
Size: 473 Bytes
Versions: 19
Compression:
Stored size: 473 Bytes
Contents
Rails.application.routes.draw do mount Ckeditor::Engine => '/ckeditor' namespace :admin do 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
19 entries across 19 versions & 1 rubygems