discourse_subscription_client 0.1.0.pre14 → 0.1.0.pre15
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f15b1e42f02b3159c039b28fdf1985170db6defce594f2e42c1a52f4504db3ee
|
4
|
+
data.tar.gz: 201f6f0740e215e96a288a48ac2438c501ecb451afd968873981879afb433927
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a90ed84465ac74a22c7640e620376378a0e0323511eb6461dc6646c824f430f679d79c56ee89937c073fb601d41cb2335cfa5370543da641bce0c91fdcc33463
|
7
|
+
data.tar.gz: 2400cd36dbb04f1b0c915e3f6f6011115be55bdbc55b3035874ef6584514463b9694de7f73c26fe688417cc6fb39aaae64f9df4d5457e32f87b586f0802ecda7
|
@@ -11,6 +11,8 @@ module DiscourseSubscriptionClient
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def authorize
|
14
|
+
session[:final_landing_path] = params[:final_landing_path]
|
15
|
+
|
14
16
|
request_id = DiscourseSubscriptionClient::Authorization.request_id(@supplier.id)
|
15
17
|
cookies[:user_api_request_id] = request_id
|
16
18
|
redirect_to DiscourseSubscriptionClient::Authorization.url(current_user, @supplier, request_id).to_s,
|
@@ -36,7 +38,11 @@ module DiscourseSubscriptionClient
|
|
36
38
|
|
37
39
|
DiscourseSubscriptionClient::Subscriptions.update
|
38
40
|
|
39
|
-
|
41
|
+
if !session[:final_landing_path].blank?
|
42
|
+
redirect_to session[:final_landing_path]
|
43
|
+
else
|
44
|
+
redirect_to "/admin/plugins"
|
45
|
+
end
|
40
46
|
end
|
41
47
|
|
42
48
|
def destroy
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: discourse_subscription_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.pre15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Angus McLeod
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_model_serializers
|