mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-19 04:49:15 +00:00
Add rubocop exception for application controller class length and fix one line length issue
This commit is contained in:
@@ -93,7 +93,8 @@ class ApplicationController < ActionController::Base
|
||||
if current_distributor_closed?
|
||||
current_order.empty!
|
||||
current_order.set_distribution! nil, nil
|
||||
flash[:info] = "The hub you have selected is temporarily closed for orders. Please try again later."
|
||||
flash[:info] = "The hub you have selected is temporarily closed for orders. "\
|
||||
"Please try again later."
|
||||
redirect_to main_app.root_url
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user