Sha256: 7f7a10c7757c3cbc4006d0ef7d483a329a4aa6ac86fda5e735028adc5904f487

Contents?: true

Size: 445 Bytes

Versions: 3

Compression:

Stored size: 445 Bytes

Contents

LunarShell::Engine.routes.draw do
  namespace :satellites do
    resource :clear, only: []
    resource :exit, only: []
    resource :help, only: []
    resource :history, only: []
    resource :passwd, only: [:create] do
      post 'confirm_password'
      post 'new_password'
    end
    resource :quit, only: []
    resource :su, only: [:create]

    # catch all
    post '*error', action: 'run'
    post :run
  end

  root 'shells#show'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lunar_shell-0.5.2 config/routes.rb
lunar_shell-0.5.0 config/routes.rb
lunar_shell-0.4.1 config/routes.rb