vidpush/config/routes.rb
2014-04-15 13:04:58 -04:00

15 lines
314 B
Ruby

Vidpush::Application.routes.draw do
devise_for :admins
if Rails.env.production?
devise_for :users, :controllers => {registrations: "registrations"}
else
devise_for :users
end
root to: "campaigns#index"
resources :campaigns, param: :clientid
resources :videolistings, param: :videocode
end