send this keyword along with page.call in rails
i am having
<%= link_to_function "Show additional details",:id => 'user_', :class =>开发者_运维问答; 'underline' do |page|
page.call 'toggle_detail','additional'
end -%>
how to send this keyword along with the page.call here. pls give suggestions
Try page.call 'foobar',page.literal('this')
精彩评论