Fix error handling in single coop installs (PR #841)
This commit is contained in:
parent
db5a499e4c
commit
f45afb7dd4
1 changed files with 0 additions and 9 deletions
|
@ -11,15 +11,6 @@ class ErrorsController < ApplicationController
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def select_foodcoop
|
|
||||||
foodcoop = params[:foodcoop]
|
|
||||||
if FoodsoftConfig.allowed_foodcoop? foodcoop
|
|
||||||
FoodsoftConfig.select_foodcoop foodcoop
|
|
||||||
else
|
|
||||||
FoodsoftConfig.select_default_foodcoop
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
def current_layout
|
def current_layout
|
||||||
current_user ? 'application' : 'login'
|
current_user ? 'application' : 'login'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue