Sha256: 99d3457cefa682211329a24aaa4244a0ce9786b1dad967bf14d8228cd3fe961b
Contents?: true
Size: 1.32 KB
Versions: 8
Compression:
Stored size: 1.32 KB
Contents
ActionController::Routing::Routes.draw do |map| map.namespace(:admin_data) do |admin_data| admin_data.with_options :controller => 'main' do |m| m.index '/', :action => 'all_models' end admin_data.with_options :controller => 'migration' do |m| m.migration_information '/migration', :action => 'index' m.jstest '/jstest', :action => 'jstest' end admin_data.with_options :controller => 'feed' do |m| m.feed '/feed/:klasss', :action => 'index', :format => :rss end admin_data.with_options :controller => 'search' do |m| m.search '/quick_search/:klass', :action => 'quick_search' m.advance_search '/advance_search/:klass', :action => 'advance_search' end admin_data.resources :on_k, :as => ':klass', :path_prefix => 'admin_data/klass', :controller => 'main', :member => {:del => :delete}, :collection => {:table_structure => :get} end end
Version data entries
8 entries across 8 versions & 1 rubygems