Problem solved!
Sorry about that, turns out it wasn't an error
Thanks!
On 22 avr, 12:27, Alex wrote:
> Hello everybody !
>
> I have in a view something like this :
>
> <% unless (method_name?(id)) then %>
>
> <%= link_to h(t(:BTN)), new_url_path(id) %>
>
> <%
On Wed, Apr 22, 2009 at 11:27 AM, Alex wrote:
> Hello everybody !
>
> I have in a view something like this :
>
>
> <% unless (method_name?(id)) then %>
>
> <%= link_to h(t(:BTN)), new_url_path(id) %>
>
> <% else %>
>
> <%= link_to_function h(t(:BT
Hello everybody !
I have in a view something like this :
<% unless (method_name?(id)) then %>
<%= link_to h(t(:BTN)), new_url_path(id) %>
<% else %>
<%= link_to_function h(t(:BTN)), 'return false;' %>
<% end %>
all of this works