Try putting a line break after the |page| and before the "end"
-----
Ryan Bigg
Freelancer
http://frozenplague.net







On 18/01/2009, at 7:05 AM, Phlip wrote:

>
> Tom Ha wrote:
>
>>  <%= button_to_function 'Personal account' do |page|  
>> page.replace_html
>> 'newagentpersonal', :partial => 'user/agents/newagentpersonal' end %>
>
> What is the 'end' there for? (-:
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to