config/routes.rb in kinney-0.0.3 vs config/routes.rb in kinney-0.1.0

- old
+ new

@@ -1,24 +1,24 @@ Kinney::Engine.routes.draw do post "tracker/track", :to => 'tracker#track' # match "tracker/analyze/:video", :to => 'tracker#analyze', :via => :get, :as => 'tracker_analyze' - match "search", :as => :search, :to => 'search#index' - match "about", :as => :about, :to => 'pages#about' + get "search", :as => :search, :to => 'search#index' + get "about", :as => :about, :to => 'pages#about' - match 'giving', :as => :giving, :to => 'pages#giving' - match 'contact' => 'contact#new', :as => 'contact', :via => :get - match 'contact' => 'contact#create', :as => 'contact', :via => :post + get 'giving', :as => :giving, :to => 'pages#giving' + # get 'contact' => 'contact#new', :as => 'contact' + # post 'contact' => 'contact#create', :as => 'contact' root :to => 'pages#home' - + resources :people, :only => [:index, :show] resources :topics, :only => [:index, :show] resources :clips, :only => [:index, :show], :path => '/videos' - - mount Ckeditor::Engine => "/ckeditor" - - match "/sitemap" => "sitemap#index", :as => :sitemap, + + # mount Ckeditor::Engine => "/ckeditor" + + get "/sitemap" => "sitemap#index", :as => :sitemap, :defaults => {:format => :xml} end