Revision 9d43fc71
Added by Michael Moll almost 6 years ago
app/controllers/application_controller.rb | ||
---|---|---|
end
|
||
|
||
def errors_hash(errors)
|
||
errors.any? ? {:status => N_("Error"), :message => errors.full_messages.join('<br>')} : {:status => N_("OK"), :message =>""}
|
||
errors.any? ? {:status => N_("Error"), :message => errors.full_messages.join('<br>')} : {:status => N_("OK"), :message => ""}
|
||
end
|
||
|
||
def taxonomy_scope
|
Also available in: Unified diff
Fixes #19789 - fix Layout/SpaceAroundOperators cop