routes
Rails 3.1 routing confusion
I am trying to create a link to a record in my application: <ul class=\"presentation-box\"> <% @presentations.each do |presentation| %>[详细]
2023-04-11 05:03 分类:问答No "(.:format)" in Rails 3.1 when trying to route site root
Since upgrading to Rails 3.1, I\'ve been having a problem with my site\'s routing. Previously, with Rails 3.0, I was able to do this in my router config:[详细]
2023-04-11 04:50 分类:问答Asp.net url routing traps asmx web service call
I have an Asp.Net 4.0 Web Forms project that uses url routing for user friendly urls, i.e hiding aspx-pages behind clear text urls.[详细]
2023-04-11 02:37 分类:问答Routing Error with sign_out in devise in rails 3.0.9
I\'ve gone through many other stack overflow posts (e.g. this one: No route matches "/users/sign_out" devise rails 3), but I\'ve not found anything that works.[详细]
2023-04-11 01:24 分类:问答How to route to a path/file in Rails?
I have a subdomain that need to point to a folder inside t开发者_高级运维he public folder. I would be searching for something like this:[详细]
2023-04-11 00:57 分类:问答How to use routes in .js.coffee script rails
I have this code: $(\'#my_form .submit\').click( -> $.ajax( -> type: \"post\", url: \"????\", data: $(\"#myform\").serialize(),[详细]
2023-04-10 21:36 分类:问答How to change routes in ruby on rails?
I just instal开发者_运维问答led Ruby on Rails and created a scaffold called posts. RoR generated controllers and other required files for me.[详细]
2023-04-10 19:45 分类:问答Using url_for to generate path without declaring route
In my views, I\'m generating links to static pages like this one: link_to \"Terms\", \"/tos\" which results in the relative URL localhost:3000/tos . I\'m trying to use a Rails routing helper to gen[详细]
2023-04-10 18:01 分类:问答SEO optimization url and routes, deal with not unique parameters?
Everyone knows that: www.example.com/city/new-york is much better than: www.example.com/city?id=43567 Fine, meaningful and human-readable. But how to deal with slug or not unique names (e.g. the[详细]
2023-04-10 17:49 分类:问答Rails 3 Route: button_to HTML INPUT Action not working
I have a strange problem that I think has to do with routes. In my \"view\" I have this: <%= button_to \"New Item\", new_proposal_pitem_path(@proposal), :method => :get %>[详细]
2023-04-10 17:27 分类:问答