vendor/rails/actionpack/README in radiantcms-couchrest_model-0.1.4 vs vendor/rails/actionpack/README in radiantcms-couchrest_model-0.1.5

- old
+ new

@@ -153,23 +153,23 @@ * Routing makes pretty urls incredibly easy map.connect 'clients/:client_name/:project_name/:controller/:action' Accessing /clients/37signals/basecamp/project/dash calls ProjectController#dash with - { "client_name" => "37signals", "project_name" => "basecamp" }. + { "client_name" => "37signals", "project_name" => "basecamp" } in params[:params] - From that URL you can redirect providing new parameters in a number of ways: + From that URL, you can rewrite the redirect in a number of ways: - redirect_to :action => "edit" - # /clients/37signals/basecamp/project/edit + redirect_to(:action => "edit") => + /clients/37signals/basecamp/project/dash - redirect_to :client_name => "nextangle", :project_name => "rails" - # /clients/nextangle/rails/project/dash + redirect_to(:client_name => "nextangle", :project_name => "rails") => + /clients/nextangle/rails/project/dash {Learn more}[link:classes/ActionController/Base.html] -* JavaScript and Ajax integration +* Javascript and Ajax integration link_to_function "Greeting", "alert('Hello world!')" link_to_remote "Delete this post", :update => "posts", :url => { :action => "destroy", :id => post.id }