From 2d819e0e7f3e0e950f737663b329f33c59fb9ce9 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Tue, 18 Aug 2020 03:16:30 -0500 Subject: [Command Tags] Init variables module before footer module --- app/lib/command_tag/command/footer_tools.rb | 2 +- app/lib/command_tag/command/variables.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'app/lib') diff --git a/app/lib/command_tag/command/footer_tools.rb b/app/lib/command_tag/command/footer_tools.rb index 5ef39fe4a..73e2f05bd 100644 --- a/app/lib/command_tag/command/footer_tools.rb +++ b/app/lib/command_tag/command/footer_tools.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true module CommandTag::Command::FooterTools - def handle_footertools_startup + def handle_999_footertools_startup @status.footer = var('persist:footer:default')[0] end diff --git a/app/lib/command_tag/command/variables.rb b/app/lib/command_tag/command/variables.rb index b0781d1aa..ebcacbf02 100644 --- a/app/lib/command_tag/command/variables.rb +++ b/app/lib/command_tag/command/variables.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true module CommandTag::Command::Variables - def handle_variables_startup + def handle_000_variables_startup @vars.merge!(persistent_vars_from(@account.metadata.fields)) if @account.metadata.present? end -- cgit