Sha256: 01dd7a29f1193562d876f2368d604dcc7c66103aa238987998e4c3023a2cb10c
Contents?: true
Size: 746 Bytes
Versions: 8
Compression:
Stored size: 746 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', format: false, :action => 'download' 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
8 entries across 8 versions & 1 rubygems