See comments below:

----- "Jakub Steiner" <[email protected]> wrote:

> ---
>  src/app/views/users/new.haml |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/app/views/users/new.haml
> b/src/app/views/users/new.haml
> index b6ed86b..b0c158a 100644
> --- a/src/app/views/users/new.haml
> +++ b/src/app/views/users/new.haml
> @@ -5,4 +5,4 @@
>        = f.error_messages
>        = render :partial => "form", :object => f
>        = f.submit t(:create_account), :class => "submit dialogbutton"
> -      = link_to t(:cancel), :class => 'actionlink button
> dialogbutton'
> +      = link_to t(:cancel), {:controller => 'users'}, :class =>
> 'actionlink button dialogbutton'
> -- 
> 1.7.2.3
> 

Hi Jakub,

could you please use 'users_path' instead of '{:controller => 'users'}'? Like 
this:
= link_to t(:cancel), users_path, :class => 'actionlink button dialogbutton'

It will be better for future changes. Less duplication.

-- Ladislav :-)
_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to