Sha256: 03dff7343857e0c9d2dc5ce5bac673ad8dc7b620be662b2b2db99ca7e1ab673a

Contents?: true

Size: 349 Bytes

Versions: 1

Compression:

Stored size: 349 Bytes

Contents

WebSandboxConsole::Engine.routes.draw do
  root "home#index"

  post :eval_code, to: "home#eval_code"
  get :view_file, to: "home#view_file"
  post :do_view_file, to: "home#do_view_file"

  # 授权相关
  get :fetch_token, to: "authorization#fetch_token"
  get :auth_page, to: "authorization#auth_page"
  post :auth, to: "authorization#auth"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
web_sandbox_console-0.3.0 config/routes.rb