Skip to content

Commit e37ffcf

Browse files
committed
Remove locale check
1 parent 872ef21 commit e37ffcf

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
module Litestream
22
class ApplicationController < ActionController::Base
33
protect_from_forgery with: :exception
4-
around_action :force_english_locale!
54

65
if Litestream.password
76
http_basic_authenticate_with(
87
name: Litestream.username,
98
password: Litestream.password
109
)
1110
end
12-
13-
private
14-
15-
def force_english_locale!(&action)
16-
I18n.with_locale(:en, &action)
17-
end
1811
end
1912
end

0 commit comments

Comments
 (0)