Sha256: a5b57594e6cedcbafa4bf3fec943c6757af01a989785f5a9b237b25ad88c1202

Contents?: true

Size: 502 Bytes

Versions: 1

Compression:

Stored size: 502 Bytes

Contents

# This is for the admin area.
FrontEndBuilds::Engine.routes.draw do
  scope :api, path: '/api' do
    resources :apps, only: [:index, :show, :create, :update, :destroy]
    resources :builds, only: [:index, :show]
    resources :host_apps, only: [:show]
  end

  get '/(*path)', to: 'admin#index', as: :admin
end

# This is for the posting of new apps.
Rails.application.routes.draw do
  namespace :front_end_builds do
    resources :builds, only: [:create]
    resource :best, only: [:show]
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
front_end_builds-0.0.26 config/routes.rb