Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 650cbcd991
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (27 sloc) 1.613 kb
Tubalr::Application.routes.draw do
devise_for :users
root :to => "application#index"
get "/insert_search/:search_type/:search" => "api#search"
get "/video_viewed/:video_id" => "api#video_viewed"
get "/:username/playlist/:playlist_name.json" => "api#user_playlist"
get "/rain" => "application#rain"
get "/stats" => "stats#index"
get "/explore" => "explore#index"
get "/recently_watched/:limit" => "explore#recently_watched"
get "/get_random_playlists/:limit" => "explore#get_random_playlists"
get "/genre/:artist_band" => "application#index"
get "/multi/:artist_band" => "application#index"
get "/just/:artist_band" => "application#index"
get "/similar/:artist_band" => "application#index"
get "/video/:video_id" => "application#index"
get "/:username/playlists" => "playlists#index"
get "/:username/playlist/:playlist_name" => "playlists#listen"
match "/playlist/create" => "playlists#create"
match "/playlist/add_video" => "playlists#add_video"
match "/playlist/delete_video" => "playlists#delete_video"
post "/check_banned" => "bannedVideos#check"
post "/ban_video" => "bannedVideos#ban_video"
devise_scope :user do
get "/users/sign_out" => "devise/sessions#destroy"
end
end
Jump to Line
Something went wrong with that request. Please try again.