Sha256: 72ecc72f692bc0d06dacfe79bf0eac4d729a4e3ea07695ea209517a446f28127
Contents?: true
Size: 738 Bytes
Versions: 6
Compression:
Stored size: 738 Bytes
Contents
Dummy::Application.routes.draw do scope ENV['RAILS_RELATIVE_URL_ROOT'] || '/' do scope '/api' do resources :users do collection do post :create_route end end resources :concerns, :only => [:index, :show] namespace :files do get '/*file_path', to: :download, format: false end resources :twitter_example do collection do get :lookup get 'profile_image/:screen_name' => 'twitter_example#profile_image' get :search get :search get :contributors end end end apipie end root :to => 'apipie/apipies#index' match '(/)*path' => redirect('http://www.example.com'), :via => :all end
Version data entries
6 entries across 6 versions & 1 rubygems