Sha256: 0948dcaa9a7d8ec1b5f9b28fed121019e03d068aa7ba42cec1b4e19322ac1dea

Contents?: true

Size: 773 Bytes

Versions: 1

Compression:

Stored size: 773 Bytes

Contents

Kinney::Engine.routes.draw do

  post "tracker/track", :to => 'tracker#track'
  match "tracker/analyze/:video", :to => '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

1 entries across 1 versions & 1 rubygems

Version Path
kinney-0.0.1 config/routes.rb