Sha256: 4fa5c02fbf019e63feb3d3a73a2e245479a2af71864f46f384ad53eadbd1a4f2

Contents?: true

Size: 481 Bytes

Versions: 6

Compression:

Stored size: 481 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'
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

6 entries across 6 versions & 1 rubygems

Version Path
front_end_builds-0.0.19 config/routes.rb
front_end_builds-0.0.18 config/routes.rb
front_end_builds-0.0.17 config/routes.rb
front_end_builds-0.0.16 config/routes.rb
front_end_builds-0.0.15 config/routes.rb
front_end_builds-0.0.14 config/routes.rb