admin_data 1.0.13 → 1.0.14
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +3 -0
- data/config/routes.rb +21 -26
- data/lib/admin_data/version.rb +1 -1
- metadata +3 -3
data/History.txt
CHANGED
data/config/routes.rb
CHANGED
@@ -1,34 +1,29 @@
|
|
1
|
-
Rails.application.routes.draw do
|
1
|
+
Rails.application.routes.draw do
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
admin_data.with_options :controller => 'main' do |m|
|
6
|
-
m.index '/', :action => 'all_models'
|
7
|
-
end
|
3
|
+
namespace(:admin_data) do
|
8
4
|
|
9
|
-
|
10
|
-
m.migration_information '/migration', :action => 'index'
|
11
|
-
m.jstest '/jstest', :action => 'jstest'
|
12
|
-
end
|
5
|
+
match '/' => "main#all_models", :as => :index
|
13
6
|
|
14
|
-
|
15
|
-
|
16
|
-
:format => :rss
|
17
|
-
end
|
7
|
+
match '/migration' => "migration#index", :as => :migration_information
|
8
|
+
match '/jstest' => "migration#jstest", :as => :jstest
|
18
9
|
|
19
|
-
|
20
|
-
m.search '/quick_search/:klass', :action => 'quick_search'
|
21
|
-
m.advance_search '/advance_search/:klass', :action => 'advance_search'
|
22
|
-
end
|
10
|
+
match '/feed/:klasss' => "feed#index", :defaults => { :format =>'rss' }, :as => :feed
|
23
11
|
|
12
|
+
match '/quick_search/:klass' => "search#quick_search", :as => :search
|
13
|
+
match '/advance_search/:klass' => "search#advance_search", :as => :advance_search
|
14
|
+
end
|
24
15
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
16
|
+
scope '/admin_data' do
|
17
|
+
match '/klass/:klass/table_structure' => "admin_data/main#table_structure", :as => :table_structure_admin_data_on_k, :via => :get
|
18
|
+
match '/klass/(:klass(.:format))' => "admin_data/main#index", :as => :admin_data_on_k_index, :via => :get
|
19
|
+
match '/klass/(:klass(.:format))' => "admin_data/main#create", :as => :admin_data_on_k_index, :via => :post
|
20
|
+
|
21
|
+
match '/klass/:klass/new' => "admin_data/main#new", :as => :new_admin_data_on_k, :via => :get
|
22
|
+
match '/klass/:klass/:id/del' => "admin_data/main#del", :as => :del_admin_data_on_k, :via => :delete
|
23
|
+
match '/klass/:klass/:id/edit' => "admin_data/main#edit", :as => :edit_admin_data_on_k, :via => :get
|
24
|
+
match '/klass/:klass/:id' => "admin_data/main#show", :as => :admin_data_on_k, :via => :get
|
25
|
+
match '/klass/:klass/:id' => "admin_data/main#update", :as => :admin_data_on_k, :via => :put
|
26
|
+
match '/klass/:klass/:id' => "admin_data/main#destroy", :as => :admin_data_on_k, :via => :delete
|
32
27
|
end
|
33
28
|
|
34
|
-
end
|
29
|
+
end
|
data/lib/admin_data/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: admin_data
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 14
|
10
|
+
version: 1.0.14
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Neeraj Singh
|