Sha256: dfc3b058550c6e1d83c2975ecdab59988437ea4a57ab7a84ba866ccb4892d55b

Contents?: true

Size: 1.15 KB

Versions: 1

Compression:

Stored size: 1.15 KB

Contents

Applicants::Engine.routes.draw do
  get "/admin" => redirect("/spike")
  namespace :spike do
    resources :applicants do
      collection do
        get :total
      end

      member do
        put :event
      end
    end
    root to: 'applicants#index'
  end

  resources :panels, only: [] do
    scope module: :panels do
      resource :statistics, only: [:show]
    end
  end

  resources :applicants do
    member do
      get :download
      get :tips
      get :launch
      get :next_steps
      post :screen_recorder_callbacks
      put :video_server_callback
    end
  end
  get "thank_you", to: "applicants#thank_you", as: :thank_you_applicant

  get 'affiliate_tracking/fire', to: 'affiliate_tracking#fire'
  post :resend_confirmation_email, controller: 'applicants', action: 'resend_confirmation_email', format: :json
  get '/activator', controller: 'applicants', action: 'activator', as: 'activator'
  get '/api/v1/videos/applicant-:id/ready', controller: 'applicants', action: 'legacy_video_ready', as: 'video_ready_applicant'

  get "/support_center" => redirect("http://testersupport.usertesting.com/"), as: 'support_center'

  root :to => 'applicants#new'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
applicants-0.11.0 config/routes.rb