Sha256: 109a9c904281765c5a327395c1164729fdd3ac6c54a58497ede83cea2d63da77
Contents?: true
Size: 1.32 KB
Versions: 30
Compression:
Stored size: 1.32 KB
Contents
Rails.application.routes.draw do if RailsConnector::Configuration.enabled?(:search) match 'search', :to => 'search#search' end if RailsConnector::Configuration.enabled?(:crm) match 'login', :to => 'user#login' match 'logout', :to => 'user#logout' match 'user/:action', :to => 'user', :as => "user" end if RailsConnector::Configuration.enabled?(:time_machine) && RailsConnector::Configuration.editor_interface_enabled? match 'time_machine/:action', :to => 'rails_connector/time_machine', :as => "time_machine" end if RailsConnector::Configuration.enabled?(:pdf_generator) match 'pdf/external', :to => 'rails_connector/pdf_external#index', :as => "pdf_external" match 'pdf/:id', :to => 'pdf#index', :as => "pdf" match 'pdf/:action/:id', :to => 'pdf', :as => "pdf_with_action" end if RailsConnector::Configuration.enabled?(:rss) match 'rss', :to => 'rss#index', :format => "rss" end if RailsConnector::Configuration.enabled?(:comments) match 'comments/:action(/:id)', :to => 'comments', :as => "comment" end if RailsConnector::Configuration.enabled?(:ratings) match 'ratings/:action/:id(/:score)', :to => 'ratings', :as => "ratings" end if RailsConnector::Configuration.enabled?(:seo_sitemap) match 'sitemap.xml', :to => 'seo_sitemap#show', :format => 'xml' end end
Version data entries
30 entries across 30 versions & 1 rubygems