Sha256: 54ff5ead85c90c3c1b1253ea9a66d08725f82b1eff69dfe8d55b632fb9330951

Contents?: true

Size: 493 Bytes

Versions: 3

Compression:

Stored size: 493 Bytes

Contents

# This is for the admin area.
FrontEndBuilds::Engine.routes.draw do
  scope :api do
    resources :apps, only: [:index, :show, :create, :edit, :destroy]
    resources :builds, only: [:index, :show, :edit]
    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

3 entries across 3 versions & 1 rubygems

Version Path
front_end_builds-0.0.23 config/routes.rb
front_end_builds-0.0.21 config/routes.rb
front_end_builds-0.0.20 config/routes.rb