Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

Commit 47ac16f

Browse files
Fix inconsistencies in identation on application_controller.rb
1 parent 6a9c353 commit 47ac16f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/controllers/application_controller.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ def render_json_422
9494
end
9595

9696
private
97+
9798
def authenticate_with_token!
9899
auth_token = params[:auth_token].presence
99100

@@ -115,7 +116,9 @@ def authenticate_with_token!
115116
end
116117
end
117118

119+
118120
protected
121+
119122
def block_ip_addresses
120123
head :unauthorized if AppSettings.ip_addresses_black_list.include?(current_ip_address)
121124
end

0 commit comments

Comments
 (0)