config/routes.rb in goldencobra-1.1.0 vs config/routes.rb in goldencobra-1.2.0

- old
+ new

@@ -1,10 +1,19 @@ if RUBY_VERSION.include?("1.9.") require 'sidekiq/web' end Goldencobra::Engine.routes.draw do + + match "switch_language/:locale" => "articles#switch_language", :as => :switch_language + match "frontend_login/:usermodel" => "sessions#login", :as => :frontend_login + match "frontend_logout/:usermodel" => "sessions#logout", :as => :frontend_logout + match "frontend_register/:usermodel" => "sessions#register", :as => :frontend_register + match "manage/render_admin_menue" => "manage#render_admin_menue" + match "manage/article_visibility/:id" => "manage#article_visibility" + match "call_for_support" => "manage#call_for_support" + if RUBY_VERSION.include?("1.9.") mount Sidekiq::Web => '/admin/background' end # post '/goldencobra/api/v1/tokens' => 'goldencobra/api/v1/tokens_controller#create' @@ -19,10 +28,10 @@ devise_for :visitors, :controllers => { :omniauth_callbacks => "visitors/omniauth_callbacks" } devise_scope :visitors do get '/visitors/auth/:provider' => 'omniauth_callbacks#passthru' end - match "/*article_id.pdf", :to => "articles#convert_to_pdf" + #match "/*article_id.pdf", :to => "articles#convert_to_pdf" match "/*article_id", :to => "articles#show" # The priority is based upon order of creation: # first created -> highest priority.