Sha256: 6f47e93557d0517ff8086b05c5e7d5c440cdb173b0eeeb192f05fbdc26817ac0
Contents?: true
Size: 667 Bytes
Versions: 2
Compression:
Stored size: 667 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' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
apipie-rails-0.3.1 | spec/dummy/config/routes.rb |
apipie-rails-0.3.0 | spec/dummy/config/routes.rb |