Skip to content

Commit

Permalink
remove the edit page - it's not used anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Van der Jeugt committed Feb 4, 2016
1 parent 63539e0 commit 9c31d9d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 20 deletions.
8 changes: 2 additions & 6 deletions app/views/layouts/_header.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,8 @@
%li= link_to "List", products_path
%li= link_to "Add product" , barcode_products_path
%li= link_to "Barcodes", barcodes_path
%li.dropdown
%a.dropdown-toggle{"data-toggle" => "dropdown", href: "#"}
Logged in as #{current_user.name}
%b.caret
%ul.dropdown-menu
%li= link_to "Edit profile", edit_user_path(current_user)
%li
%p.navbar-text Logged in as #{current_user.name}
%li
%p.navbar-text
Balance:
Expand Down
13 changes: 0 additions & 13 deletions app/views/users/edit.html.haml

This file was deleted.

2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
end
end

resources :users, only: [:show, :edit, :update] do
resources :users, only: [:show] do
resources :orders, only: [:new, :create, :destroy]
member do
get 'quickpay' => 'users#quickpay'
Expand Down

0 comments on commit 9c31d9d

Please sign in to comment.