config/routes.rb in web_sandbox_console-0.3.0 vs config/routes.rb in web_sandbox_console-0.4.0
- old
+ new
@@ -7,7 +7,11 @@
# 授权相关
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