I just happened to stumble across this completely commented out code while doing something else. No reason to keep chunks of unused, commented out code around. We have version control should we want it back.
Reviewed-by: Nick Lewis Signed-off-by: Matt Robinson <[email protected]> --- Local-branch: ticket/next/5866 app/views/layouts/application.html.haml | 1 - app/views/shared/_secondary_nav.html.haml | 8 -------- 2 files changed, 0 insertions(+), 9 deletions(-) delete mode 100644 app/views/shared/_secondary_nav.html.haml diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index c5c80c8..5bf518b 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -20,7 +20,6 @@ #wrap #header = render 'shared/global_nav' - = render 'shared/secondary_nav' #content - [:success, :warning, :failure].each do |type| - if message = flash[type] diff --git a/app/views/shared/_secondary_nav.html.haml b/app/views/shared/_secondary_nav.html.haml deleted file mode 100644 index b5a20d0..0000000 --- a/app/views/shared/_secondary_nav.html.haml +++ /dev/null @@ -1,8 +0,0 @@ -%ul#secondary-navigation - -# TODO implement authentication - - unless current_user - %li= link_to "Register", new_account_path - %li= link_to "Log In", new_user_session_path - - else - %li= link_to "My Account", account_path - %li= link_to "Logout", user_session_path, :method => :delete -- 1.7.3.1 -- You received this message because you are subscribed to the Google Groups "Puppet Developers" 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/puppet-dev?hl=en.
