phcmemberspro 11.6.0 → 11.6.1
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77c2dde9a8208ce2329aa0c4cab5453c796dabd8
|
4
|
+
data.tar.gz: 4562a880694268e91e5d2294cac7ea6be9dd70d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d40dd54f6466fe2950b4f66569e90dea3a07c7e178515f6ce516eb18b00c3d600b584162f4954d5be844bba418bf7235001352197cd2dee1a32dcd7b00cda0e
|
7
|
+
data.tar.gz: e2ccf446700f833ff67143b8373e89d47b88b35d76d64aeed5344a506f1a5b166a62bfa95428dc1448d1b6c68da2ba263cf2692590d70e11a9eb4f926678f800
|
@@ -10,11 +10,14 @@ module Phcmemberspro
|
|
10
10
|
@members_profile_info = Member::Profile.find(params[:profile_id])
|
11
11
|
end
|
12
12
|
|
13
|
-
|
13
|
+
def membership_info
|
14
|
+
AuthRocket::Membership.all(user_id: current_user.id).first
|
15
|
+
end
|
16
|
+
|
17
|
+
#Authentication
|
14
18
|
def require_user
|
15
19
|
unless current_user
|
16
|
-
params.permit
|
17
|
-
session[:last_url] = request.get? ? url_for(params) : url_for
|
20
|
+
session[:last_url] = request.get? ? url_for(params.dup.permit!.except(:domain, :host, :port, :protocol, :subdomain)) : url_for
|
18
21
|
redirect_to new_login_url
|
19
22
|
end
|
20
23
|
end
|
@@ -26,13 +29,10 @@ module Phcmemberspro
|
|
26
29
|
|
27
30
|
def new_login_url
|
28
31
|
ENV['AUTHROCKET_LOGIN_URL']
|
32
|
+
# $ar_login_url
|
29
33
|
end
|
30
34
|
helper_method :new_login_url
|
31
35
|
|
32
|
-
def membership_info
|
33
|
-
AuthRocket::Membership.all(user_id: current_user.id).first
|
34
|
-
end
|
35
|
-
|
36
36
|
# Load Helpers
|
37
37
|
helper Phctitleseo::Engine.helpers
|
38
38
|
helper Phcnotifi::Engine.helpers
|
@@ -31,20 +31,3 @@
|
|
31
31
|
<%= render 'phcmemberspro/member/profiles/components/profile_listings_table' %>
|
32
32
|
</div>
|
33
33
|
</div>
|
34
|
-
|
35
|
-
<div class="ibox">
|
36
|
-
<div class="ibox-title">
|
37
|
-
<h5><%= @member_profile.mfirstname + ' ' + @member_profile.mlastname %> Change Log</h5>
|
38
|
-
<div class="ibox-tools">
|
39
|
-
<a class="collapse-link">
|
40
|
-
<i class="fa fa-chevron-up"></i>
|
41
|
-
</a>
|
42
|
-
<a class="close-link">
|
43
|
-
<i class="fa fa-times"></i>
|
44
|
-
</a>
|
45
|
-
</div>
|
46
|
-
</div>
|
47
|
-
<div class="ibox-content">
|
48
|
-
<%= render 'phcmemberspro/member/profiles/components/profile_audits' %>
|
49
|
-
</div>
|
50
|
-
</div>
|
@@ -27,7 +27,22 @@
|
|
27
27
|
<%= render 'phcmemberspro/member/profiles/components/profile_sidebar' %>
|
28
28
|
</div>
|
29
29
|
<div class="col-md-8">
|
30
|
-
|
30
|
+
<div class="ibox">
|
31
|
+
<div class="ibox-title">
|
32
|
+
<h5><%= @member_profile.mfirstname + ' ' + @member_profile.mlastname %> Change Log</h5>
|
33
|
+
<div class="ibox-tools">
|
34
|
+
<a class="collapse-link">
|
35
|
+
<i class="fa fa-chevron-up"></i>
|
36
|
+
</a>
|
37
|
+
<a class="close-link">
|
38
|
+
<i class="fa fa-times"></i>
|
39
|
+
</a>
|
40
|
+
</div>
|
41
|
+
</div>
|
42
|
+
<div class="ibox-content">
|
43
|
+
<%= render 'phcmemberspro/member/profiles/components/profile_audits' %>
|
44
|
+
</div>
|
45
|
+
</div>
|
31
46
|
</div>
|
32
47
|
</div>
|
33
48
|
<div class="row">
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcmemberspro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 11.6.
|
4
|
+
version: 11.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BradPotts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-10-
|
11
|
+
date: 2016-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|