Skip to content

Commit 71fb068

Browse files
authored
Merge pull request #51 from RadiusNetworks/50-remove-masquerading
Removes reference to masquerade bar
2 parents d8cf232 + 70802f7 commit 71fb068

File tree

5 files changed

+1
-36
lines changed

5 files changed

+1
-36
lines changed
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
@import "radius-theme/app";
2-
@import "radius-theme/masquerade";
32
@import "overrides/theme_extensions";
43

app/assets/stylesheets/radius-theme/masquerade.scss

Lines changed: 0 additions & 12 deletions
This file was deleted.

app/helpers/radius_helper.rb

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,6 @@ def environment_ribbon
1313
end
1414
end
1515

16-
def masquerading?
17-
#session[:admin_user_id]
18-
cookies[:_radius_user_masquerade] && current_user
19-
end
20-
21-
def end_masquerade_path
22-
if respond_to?(:masquerade_destroy_path)
23-
masquerade_destroy_path
24-
else
25-
"#{kracken_url}/admin/masquerade/destroy"
26-
end
27-
end
28-
2916
def signout_user_path
3017
if respond_to?(:destroy_user_session_path)
3118
destroy_user_session_path

app/views/radius/_masquerade_bar.html.erb

Lines changed: 0 additions & 9 deletions
This file was deleted.

lib/radius/rails/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Radius
22
module Rails
3-
VERSION = "4.0.1"
3+
VERSION = "5.0.0"
44
end
55
end

0 commit comments

Comments
 (0)