Sha256: bad73f84bc9e54d8603238721cabd9b44701616ff39fccdaa9b51cb9eb784f76
Contents?: true
Size: 915 Bytes
Versions: 3
Compression:
Stored size: 915 Bytes
Contents
Rails.application.routes.draw do root to: 'welcome#home' resources :welcome resources :video_clips, only: [:new, :edit, :create, :update, :destroy], export: true do get :download, on: :member, export: :path_only patch :add_to_playlist, on: :member patch :remove_from_playlist, on: :member get :trending, on: :collection get '/thumbnail/:thumbnail_id', as: :thumbnail, action: :thumbnail, on: :member resources :comments, only: [:show, :index], shallow: true, export: true end resources :user_preferences, only: [], export: true do patch :switch_to_classic_navbar, on: :collection get :switch_to_beta_navbar, on: :collection, export: false get '/switch_to_classic/:page', action: :switch_to_classic, on: :collection, export: :path_only get '/switch_to_beta/:page', action: :switch_to_beta, on: :collection, as: :switch_to_beta_page, export: :path_only end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
js_from_routes-1.0.2 | spec/support/sample_app/config/routes.rb |
js_from_routes-1.0.1 | spec/support/sample_app/config/routes.rb |
js_from_routes-1.0.0 | spec/support/sample_app/config/routes.rb |