Skip to content

Commit 9152169

Browse files
committed
Don't set a locale around actions
We don't need that anymore now that everything has been hardcoded to English.
1 parent db4b54f commit 9152169

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

app/controllers/mission_control/jobs/application_controller.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,8 @@ class MissionControl::Jobs::ApplicationController < MissionControl::Jobs.base_co
44
include MissionControl::Jobs::ApplicationScoped, MissionControl::Jobs::NotFoundRedirections
55
include MissionControl::Jobs::AdapterFeatures
66

7-
around_action :set_current_locale
8-
97
private
108
def default_url_options
119
{ server_id: MissionControl::Jobs::Current.server }
1210
end
13-
14-
def set_current_locale(&block)
15-
I18n.with_locale(:en, &block)
16-
end
1711
end

0 commit comments

Comments
 (0)