开发者

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')

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜