Sha256: cf05c09c8563330ab075c9c6bbf69220c5e6a646d5aa3d81525b02542ccb7840

Contents?: true

Size: 618 Bytes

Versions: 3

Compression:

Stored size: 618 Bytes

Contents

MystroVolley::Engine.routes.draw do
  resources :projects
  resources :branches
  resources :versions do
    get "deploy", on: :member
    post "queue", on: :member
  end

  constraints(project: /[\w\d\.]+/,branch: /[\w\d\.]+/,version: /[\w\d\.]+/) do
    match "/:project", to: "home#show"
    match "/:project/:branch", to: "home#show"
    match "/:project/:branch/:version", to: "home#show"
  end

  #match "/__better_errors/:id/:thing" => main_app.root + "/__better_errors/%{id}/%{thing}"

  root to: "home#index"
end

MystroServer::Application.routes.draw do
  mount MystroVolley::Engine => "/plugins/volley"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mystro-volley-0.1.0.rc3 config/routes.rb
mystro-volley-0.1.0.rc2 config/routes.rb
mystro-volley-0.1.0.rc1 config/routes.rb