Sha256: 8f4a6e87d0168616bd9b6d073d00bc452af026b3dd927deac479d74fdce8be32

Contents?: true

Size: 451 Bytes

Versions: 3

Compression:

Stored size: 451 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"

  # 文件下载
  get :download_page, to: "home#download_page"
  get :download, to: "home#download"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
web_sandbox_console-0.6.0 config/routes.rb
web_sandbox_console-0.5.0 config/routes.rb
web_sandbox_console-0.4.0 config/routes.rb