开发者

send this keyword along with page.call in rails

开发者 https://www.devze.com 2023-01-29 19:57 出处:网络
i am having <%= link_to_function \"Show additional details\",:id => \'user_\', :class =>开发者_运维问答; \'underline\' do |page|

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

精彩评论

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