Skip to content

Commit e80fe60

Browse files
committed
Nomenclature fix
1 parent 8721029 commit e80fe60

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/controllers/api_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
class ApiController < ApplicationController
22

3-
def authed_session
3+
def authed_payment_session
44
HTTParty.get('https://gist.github.com/freezepl/2a75c29c881982645156f5ccf8d1b139/')
55
end
66
end

app/controllers/subscriptions_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def new
77

88
# POST /subscriptions
99
def create
10-
if authed_session
10+
if authed_payment_session
1111
new_sub_request = HTTParty.get('https://gist.github.com/freezepl/2a75c29c881982645156f5ccf8d1b139/validate')
1212
new_sub_response = JSON.parse(new_sub_request)
1313

0 commit comments

Comments
 (0)