vidpush/config/routes.rb
Tyrel Souza c6d2a47b2a change routes to use clientid
add json files
add jsonbuilder
2014-04-09 11:06:07 -04:00

9 lines
198 B
Ruby

Vidpush::Application.routes.draw do
devise_for :admins
devise_for :users
root to: "campaigns#index"
resources :campaigns, param: :clientid
resources :videolistings, param: :videocode
end