Sha256: ab2f666a878b60ce87829cf63345fae3a5ab49cd1ae20babaceca75e0360e3c7

Contents?: true

Size: 1.04 KB

Versions: 15

Compression:

Stored size: 1.04 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?(: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

15 entries across 15 versions & 1 rubygems

Version Path
infopark_rails_connector-6.9.1.3.22208381 config/routes.rb
infopark_rails_connector-6.9.0.3.197272233 config/routes.rb
infopark_rails_connector-6.8.3.174.51542603 config/routes.rb
infopark_rails_connector-6.8.3.115.227021242 config/routes.rb
infopark_rails_connector-6.8.3.73.75172665 config/routes.rb
infopark_rails_connector-6.8.3.2.153416031 config/routes.rb
infopark_rails_connector-6.8.3.67.110847540 config/routes.rb
infopark_rails_connector-6.8.3.1.23895778 config/routes.rb
infopark_rails_connector-6.8.2.36.82613853 config/routes.rb
infopark_rails_connector-6.8.2.7.128454143 config/routes.rb
infopark_rails_connector-6.8.1.26.236500544 config/routes.rb
infopark_rails_connector-6.8.1 config/routes.rb
infopark_rails_connector-6.8.0.539.93842523 config/routes.rb
infopark_rails_connector-6.8.0.529.114081979 config/routes.rb
infopark_rails_connector-6.8.0.518.30999728 config/routes.rb