will_filter 3.0.4 → 3.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/config/routes.rb +18 -61
  2. metadata +2 -2
data/config/routes.rb CHANGED
@@ -1,64 +1,21 @@
1
1
  Rails.application.routes.draw do
2
- # The priority is based upon order of creation:
3
- # first created -> highest priority.
4
2
 
5
- # Sample of regular route:
6
- # match 'products/:id' => 'catalog#view'
7
- # Keep in mind you can assign values other than :controller and :action
8
-
9
- # Sample of named route:
10
- # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
11
- # This route can be invoked with purchase_url(:id => product.id)
12
-
13
- # Sample resource route (maps HTTP verbs to controller actions automatically):
14
- # resources :products
15
-
16
- # Sample resource route with options:
17
- # resources :products do
18
- # member do
19
- # get 'short'
20
- # post 'toggle'
21
- # end
22
- #
23
- # collection do
24
- # get 'sold'
25
- # end
26
- # end
27
-
28
- # Sample resource route with sub-resources:
29
- # resources :products do
30
- # resources :comments, :sales
31
- # resource :seller
32
- # end
33
-
34
- # Sample resource route with more complex sub-resources
35
- # resources :products do
36
- # resources :comments
37
- # resources :sales do
38
- # get 'recent', :on => :collection
39
- # end
40
- # end
41
-
42
- # Sample resource route within a namespace:
43
- # namespace :admin do
44
- # # Directs /admin/products/* to Admin::ProductsController
45
- # # (app/controllers/admin/products_controller.rb)
46
- # resources :products
47
- # end
48
-
49
- # You can have the root of your site routed with "root"
50
- # just remember to delete public/index.html.
51
- root :to => "will_filter/filter#index"
52
-
53
- # mount_at = WillFilter::Engine.config.mount_at
54
- # match mount_at => 'will_filter/filter#index'
55
- # map.resources :filter, :controller => "will_filter/filter", :path_prefix => mount_at, :name_prefix => "will_filter_"
56
-
57
- # See how all your routes lay out with "rake routes"
58
-
59
- # This is a legacy wild controller route that's not recommended for RESTful applications.
60
- # Note: This route will make all actions in every controller accessible via GET requests.
61
- match ':controller(/:action(/:id(.:format)))'
62
- match ':controller(/:action(/:id))', :controller => /will_filter\/[^\/]+/
63
-
3
+ namespace :will_filter do
4
+ match 'filter/index', :to => 'filter#index'
5
+ match 'filter/add_condition', :to => 'filter#add_condition'
6
+ match 'filter/update_condition', :to => 'filter#update_condition'
7
+ match 'filter/remove_condition', :to => 'filter#remove_condition'
8
+ match 'filter/remove_all_conditions', :to => 'filter#remove_all_conditions'
9
+ match 'filter/load_filter', :to => 'filter#load_filter'
10
+ match 'filter/save_filter', :to => 'filter#save_filter'
11
+ match 'filter/update_filter', :to => 'filter#update_filter'
12
+ match 'filter/delete_filter', :to => 'filter#delete_filter'
13
+
14
+ match 'calendar', :to => 'calendar#index'
15
+ match 'calendar/index', :to => 'calendar#index'
16
+
17
+ match 'exporter', :to => 'exporter#index'
18
+ match 'exporter/index', :to => 'exporter#index'
19
+ match 'exporter/export', :to => 'exporter#export'
20
+ end
64
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: will_filter
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.4
4
+ version: 3.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-06 00:00:00.000000000Z
12
+ date: 2012-04-18 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description:
15
15
  email: