Sha256: 77d34aa275c7ee44eb0dc37f70284503ff98759659336eb6253ae4a2aba1a848
Contents?: true
Size: 1.46 KB
Versions: 6
Compression:
Stored size: 1.46 KB
Contents
Rails.application.routes.draw do namespace(:admin_data) do match '/' => "main#all_models", :as => :index match '/migration' => "migration#index", :as => :migration_information match '/jstest' => "migration#jstest", :as => :jstest match '/feed/:klasss' => "feed#index", :defaults => { :format =>'rss' }, :as => :feed match '/quick_search/:klass' => "search#quick_search", :as => :search match '/advance_search/:klass' => "search#advance_search", :as => :advance_search end scope '/admin_data' do match '/klass/:klass/table_structure' => "admin_data/main#table_structure", :as => :table_structure_admin_data_on_k, :via => :get match '/klass/(:klass(.:format))' => "admin_data/main#index", :as => :admin_data_on_k_index, :via => :get match '/klass/(:klass(.:format))' => "admin_data/main#create", :as => :admin_data_on_k_index, :via => :post match '/klass/:klass/new' => "admin_data/main#new", :as => :new_admin_data_on_k, :via => :get match '/klass/:klass/:id/del' => "admin_data/main#del", :as => :del_admin_data_on_k, :via => :delete match '/klass/:klass/:id/edit' => "admin_data/main#edit", :as => :edit_admin_data_on_k, :via => :get match '/klass/:klass/:id' => "admin_data/main#show", :as => :admin_data_on_k, :via => :get match '/klass/:klass/:id' => "admin_data/main#update", :as => :admin_data_on_k, :via => :put match '/klass/:klass/:id' => "admin_data/main#destroy", :as => :admin_data_on_k, :via => :delete end end
Version data entries
6 entries across 6 versions & 1 rubygems