Run rubocop --fix-layout and remove encoding comments

This commit is contained in:
Patrick Gansterer 2021-03-01 15:27:26 +01:00
parent fa63e6e81d
commit ea2862fdef
283 changed files with 1164 additions and 1969 deletions

View file

@ -1,5 +1,4 @@
Rails.application.routes.draw do
get "order_comments/new"
get "comments/new"
@ -9,7 +8,6 @@ Rails.application.routes.draw do
root to: 'sessions#redirect_to_foodcoop', as: nil
scope '/:foodcoop' do
use_doorkeeper
# Root path
@ -217,7 +215,6 @@ Rails.application.routes.draw do
end
resources :bank_transactions, only: [:index, :show]
end
########### Administration
@ -265,7 +262,7 @@ Rails.application.routes.draw do
namespace :user do
root to: 'users#show'
get :financial_overview, to: 'ordergroup#financial_overview'
get :financial_overview, to: 'ordergroup#financial_overview'
resources :financial_transactions, only: [:index, :show, :create]
resources :group_order_articles
end
@ -287,6 +284,5 @@ Rails.application.routes.draw do
############## The rest
resources :users, only: [:index]
end # End of /:foodcoop scope
end