Commit Graph

2 Commits

Author SHA1 Message Date
alan dea1a299af 修改competition的view文件,将其中不规范的代码进行修改,并将其中所有的link_to
修改成"link_to ‘welcome’ home_path,  {option}" 的形式;
统一route风格
match 'path', :to => 'controller#action'
如果 path = controller#action 则 match 'path'
Example:
match 'welcome/course', :to => 'welcome#course' 变成 match 'welcome/cource'


Signed-off-by: alan <547533434@qq.com>
2014-09-12 16:45:03 +08:00
wanglinchun 2a278e0a2d all 2014-04-03 22:38:18 +08:00