Skip to content

Commit 00a5f8a

Browse files
justinkorosa
authored andcommitted
UiHelper => InterfaceHelper
Fixes #129 In engines, it's best to avoid common acronyms to not disturb the host.
1 parent d50f578 commit 00a5f8a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/helpers/mission_control/jobs/application_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ module ApplicationHelper
33
# Explicit helper inclusion because ApplicationController inherits from the host app.
44
#
55
# We can't rely on +config.action_controller.include_all_helpers = true+ in the host app.
6-
include DatesHelper, JobsHelper, NavigationHelper, UiHelper
6+
include DatesHelper, JobsHelper, NavigationHelper, InterfaceHelper
77
end
88
end

app/helpers/mission_control/jobs/ui_helper.rb renamed to app/helpers/mission_control/jobs/interface_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module MissionControl::Jobs::UiHelper
1+
module MissionControl::Jobs::InterfaceHelper
22
def blank_status_notice(message)
33
tag.div message, class: "mt-6 has-text-centered is-size-3 has-text-grey"
44
end

0 commit comments

Comments
 (0)