Sha256: f403e53f7254eedbe1e927d151008ceb20357c98c41e308913104a1d0b2af0c9

Contents?: true

Size: 671 Bytes

Versions: 22

Compression:

Stored size: 671 Bytes

Contents

Rails.application.routes.draw do
  mount Maestrano::Connector::Rails::Engine, at: '/'

  root 'home#index'
  get 'home/index' => 'home#index'
  get 'home/redirect_to_external' => 'home#redirect_to_external'
  get 'home/index' => 'home#index'
  put 'home/update' => 'home#update'
  post 'home/synchronize' => 'home#synchronize'

  get 'synchronizations/index' => 'synchronizations#index'
  get 'shared_entities/index' => 'shared_entities#index'

  # Sidekiq Admin
  require 'sidekiq/web'
  Sidekiq::Web.use Rack::Auth::Basic do |username, password|
    username == ENV['SIDEKIQ_USERNAME'] && password == ENV['SIDEKIQ_PASSWORD']
  end
  mount Sidekiq::Web => '/sidekiq'
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
maestrano-connector-rails-0.4.1 template/routes.rb
maestrano-connector-rails-0.4.0 template/routes.rb