⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 routes.rb

📁 RubyonRailsC.zip ruby on rails的源码
💻 RB
字号:
ActionController::Routing::Routes.draw do |map|  # Add your own custom routes here.  # The priority is based upon order of creation: first created -> highest priority.    # Here's a sample route:  # map.connect 'products/:id', :controller => 'catalog', :action => 'view'  # Keep in mind you can assign values other than :controller and :action  # You can have the root of your site routed by hooking up ''   # -- just remember to delete public/index.html.  # map.connect '', :controller => "welcome"  # Allow downloading Web Service WSDL as a file with an extension  # instead of a file named 'wsdl'  map.connect ':controller/service.wsdl', :action => 'wsdl'  # Install the default route as the lowest priority.  map.connect ':controller/:action/:id'end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -