singular and plural rails the same resources ambiguous routes solution

Today, a single complex encounter the same resources

map.resources: series

Run Times

you may have ambiguous routes Error

Solution:

map.resources: series, singular =>: series_instance

This becomes

series get / series

post / series

new_series_instance get / series / new

分类:Ruby 时间:2010-02-02 人气:196
本文关键词: map encounter gt series
分享到:
blog comments powered by Disqus

相关文章

iOS 开发

Android 开发

Python 开发

JAVA 开发

开发语言

PHP 开发

Ruby 开发

搜索

前端开发

数据库

开发工具

开放平台

Javascript 开发

.NET 开发

云计算

服务器

Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 黔ICP备15002463号-1

processed in 0.020 (s). 14 q(s)