Sha256: 6ea8a49f53105691b94b77ac0b40eeca832d03b2ada93b476bee58438913caae

Contents?: true

Size: 350 Bytes

Versions: 5

Compression:

Stored size: 350 Bytes

Contents

Qujo::Engine.routes.draw do
  resources :jobs do
    post "accept", on: :member
    post "refresh", on: :member
    get "resque", on: :collection if defined?(Resque)
    get "status", on: :collection
    get "errors", on: :collection
    get "all", on: :collection
  end
  if defined?(Resque)
    mount Resque::Server.new, :at => "/resque"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
qujo-0.1.4 config/routes.rb
qujo-0.1.3 config/routes.rb
qujo-0.1.2 config/routes.rb
qujo-0.1.1 config/routes.rb
qujo-0.1.0 config/routes.rb