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

Version Path
infopark_rails_connector-6.8.0.beta.200.856.8c0fec5 config/routes.rb
infopark_rails_connector-6.8.0.beta.200.809.bdfa8c3 config/routes.rb
infopark_rails_connector-6.8.0.beta.200.785.05d4af9 config/routes.rb
infopark_rails_connector-6.8.0.beta.200.744.99f67fc config/routes.rb
infopark_rails_connector-6.8.0.beta.200.720.44fbabd config/routes.rb
infopark_rails_connector-6.8.0.beta.200.713.e5c3150 config/routes.rb
infopark_rails_connector-6.8.0.beta.200.681.7c84f4a config/routes.rb
infopark_rails_connector-6.8.0.beta.200.663.ceecdee config/routes.rb
infopark_rails_connector-6.8.0.beta.200.650.7c93155 config/routes.rb
infopark_rails_connector-6.8.0.beta.200.621.4c8e1b0 config/routes.rb