feature/share-libs
rb 58 lines 4.3 KB
Raw
1 get 'artist', to: 'artists#index', as: :artist
2 get 'artist_add', to: 'artists#add', as: :artist_add
3 post 'artist_add', to: 'artists#add', as: :artist_add
4 post 'artist_vote', to: 'artists#vote'
5 delete 'artist_unvote', to: 'artists#unvote'
6 get 'album', to: 'albums#index', as: :album
7 get 'album_add', to: 'albums#add', as: :album_add
8 post 'album_add', to: 'albums#add', as: :album_add
9 post 'album_vote', to: 'albums#vote'
10 delete 'album_unvote', to: 'albums#unvote'
11 get 'song', to: 'songs#index', as: :song
12 get 'song_add', to: 'songs#add', as: :song_add
13 post 'song_add', to: 'songs#add', as: :song_add
14 get 'song_karaoke_detail', to: 'songs#karaoke', as: :song_karaoke_detail
15 get 'song_bass_backing_track', to: 'songs#bass_backing_track', as: :song_bass_backing_track
16 get 'song_bass_tab', to: 'songs#bass_tab', as: :song_bass_tab
17
18 post 'song_chord_pleas_loved', to: 'songs#loved'
19 delete 'song_chord_pleas_unloved', to: 'songs#unloved'
20
21 get 'most_loved_songs', to: 'songs#most_loved', as: :most_loved_songs
22
23 get 'song_lyrics', to: 'lyrics#index', as: :lyrics
24 get 'song_lyrics_detail', to: 'lyrics#lyric', as: :lyric_detail
25 get 'guitar_chords', to: 'chords#index', as: :guitar_chords
26 get 'guitar_chord_shapes', to: 'chords#guitar_shapes', as: :guitar_chord_shapes
27 get 'guitar_chord_shape', to: 'chords#guitar_shape', as: :guitar_chord_shape
28 get 'guitar_chords_detail', to: 'chords#chord', as: :guitar_chord_detail
29 get 'guitar_chords_history', to: 'chords#history', as: :guitar_chord_history
30 get 'guitar_chords_add', to: 'chords#add', as: :guitar_chord_add
31 post 'guitar_chords_add', to: 'chords#add_post', as: :guitar_chord_add
32 get 'guitar_chords_add_song_search', to: 'chords#song_search', as: :guitar_chord_add_song_search
33 get 'guitar_chords_review', to: 'chords#review', as: :guitar_chord_review
34 patch 'guitar_chords_review', to: 'chords#review', as: :guitar_chord_review
35 post 'chord_vote', to: 'chords#vote'
36 delete 'chord_unvote', to: 'chords#unvote'
37
38 get 'artist_detail/:slug', to: 'artists#detail', as: :artist_detail # slug is artist name + id
39 get 'artist_bridge/:slug', to: 'artists#bridge', as: :artist_bridge # slug is artist name + id
40 get 'album_detail/:slug', to: 'albums#detail', as: :album_detail # slug is album name + artist name + id
41 get 'album_bridge/:slug', to: 'albums#bridge', as: :album_bridge # slug is album name + artist name + id
42 get 'song_detail/:slug', to: 'songs#detail', as: :song_detail # slug is song title + artist name + album + id
43 get 'song_bridge/:slug', to: 'songs#bridge', as: :song_bridge # slug is song title + artist name + album + id
44 get 'song_chords/:slug', to: 'songs#chords', as: :song_chords
45 get 'song_lyrics/:slug', to: 'songs#lyrics', as: :song_lyrics
46 get 'song_audio/:slug', to: 'songs#audio', as: :song_audio
47
48 get 'audio_files', to: 'audio_files#index', as: :audio_files
49 get 'guitar_backing_track', to: 'audio_files#guitar_backing_track', as: :guitar_backing_track
50 post 'guitar_backing_track', to: 'audio_files#guitar_backing_track', as: :guitar_backing_track
51 get 'bass_backing_track', to: 'audio_files#bass_backing_track', as: :bass_backing_track
52 post 'bass_backing_track', to: 'audio_files#bass_backing_track', as: :bass_backing_track
53 get 'drum_backing_track', to: 'audio_files#drum_backing_track', as: :drum_backing_track
54 post 'drum_backing_track', to: 'audio_files#drum_backing_track', as: :drum_backing_track
55
56 # What is?
57 get 'what_is_this', to: 'pages#what_is_this', as: :what_is_this
58 get 'what_is_this_detail', to: 'pages#what_is_this_detail', as: :what_is_this_detail