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.515.34928522 config/routes.rb
infopark_rails_connector-6.8.0.498.46559598 config/routes.rb
infopark_rails_connector-6.8.0.480.261594408 config/routes.rb
infopark_rails_connector-6.8.0.444.171626367 config/routes.rb
infopark_rails_connector-6.8.0.406.131718077 config/routes.rb
infopark_rails_connector-6.8.0.356.19698103 config/routes.rb
infopark_rails_connector-6.8.0.348.160665197 config/routes.rb
infopark_rails_connector-6.8.0.328.4a753fc config/routes.rb
infopark_rails_connector-6.8.0.322.c003f11 config/routes.rb
infopark_rails_connector-6.8.0.210.ed204b0 config/routes.rb
infopark_rails_connector-6.8.0.110.6570b45 config/routes.rb
infopark_rails_connector-6.8.0.72.d18d096 config/routes.rb
infopark_rails_connector-6.8.0.23.da7f96b config/routes.rb
infopark_rails_connector-6.8.0.16.def5e85 config/routes.rb
infopark_rails_connector-6.8.0.15.a24f5ff config/routes.rb
infopark_rails_connector-6.8.0.beta.200.891.647580e config/routes.rb
infopark_rails_connector-6.8.0.beta.200.889.d503e42 config/routes.rb
infopark_rails_connector-6.8.0.beta.200.883.f5f063b config/routes.rb
infopark_rails_connector-6.8.0.beta.200.884.4bd86e6 config/routes.rb
infopark_rails_connector-6.8.0.beta.200.869.9609b39 config/routes.rb