TeamCo AntHill
Tuesday, March 16, 2010
Rails render :partial tip
render :partial => "p", :locals => { :x => 1 }
can now be written as
render "p", :x => 1
1 comment:
Anonymous
November 25, 2010 at 2:30 PM
This shorter way seems to be only possible inside the view and not from within the controller.
Reply
Delete
Replies
Reply
Add comment
Load more...
‹
›
Home
View web version
This shorter way seems to be only possible inside the view and not from within the controller.
ReplyDelete