Sha256: a6f718c9bfec2a5375e422382b268124c3691b2f00971f5f1816d5fdabc9e69c

Contents?: true

Size: 560 Bytes

Versions: 10

Compression:

Stored size: 560 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 :pubkeys, only: [:index, :create, :destroy]
    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

10 entries across 10 versions & 1 rubygems

Version Path
front_end_builds-1.0.3 config/routes.rb
front_end_builds-1.0.2 config/routes.rb
front_end_builds-1.0.1 config/routes.rb
front_end_builds-1.0.0 config/routes.rb
front_end_builds-0.2.1 config/routes.rb
front_end_builds-0.2.0 config/routes.rb
front_end_builds-0.1.3 config/routes.rb
front_end_builds-0.1.2 config/routes.rb
front_end_builds-0.1.1 config/routes.rb
front_end_builds-0.1.0 config/routes.rb