Sha256: 4c0669d5445135448a2bbc97b946c36293dbe6889e1d9601b8ac04ad249ca135

Contents?: true

Size: 815 Bytes

Versions: 2

Compression:

Stored size: 815 Bytes

Contents

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'

  match 'giving', :as => :giving, :to => 'pages#giving'
  match 'contact' => 'contact#new', :as => 'contact', :via => :get
  match 'contact' => 'contact#create', :as => 'contact', :via => :post

  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,
    :defaults => {:format => :xml}

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kinney-0.0.3 config/routes.rb
kinney-0.0.2 config/routes.rb