- <%= link_to t('doorkeeper.applications.buttons.back'), oauth_applications_path(), class: 'button link-button button-margin', :data => { :bypass => 'true' } %>
+ <%= link_to t('doorkeeper.applications.buttons.back'), oauth_applications_path(), class: 'button link-button button-margin' %>
diff --git a/app/views/layouts/_account.html.erb b/app/views/layouts/_account.html.erb
index 1f228481..0b20cf4c 100644
--- a/app/views/layouts/_account.html.erb
+++ b/app/views/layouts/_account.html.erb
@@ -10,12 +10,12 @@
-
- <%= link_to "Account", edit_user_url(account), :data => { :bypass => 'true'} %>
+ <%= link_to "Account", edit_user_url(account) %>
<% if account.admin %>
-
- <%= link_to "Admin", metacodes_path, :data => { :bypass => 'true'} %>
+ <%= link_to "Admin", metacodes_path %>
<% end %>
-
@@ -24,7 +24,7 @@
-
- <%= link_to "Sign Out", "/logout", id: "Logout", :data => { :bypass => 'true'} %>
+ <%= link_to "Sign Out", "/logout", id: "Logout" %>
<% else %>
@@ -47,8 +47,7 @@
<%- if devise_mapping.recoverable? && controller_name != 'passwords' %>
- <%= link_to "Forgot password?", new_password_path(resource_name),
- :data => { :bypass => 'true'} %>
+ <%= link_to "Forgot password?", new_password_path(resource_name) %>
<% end -%>
<% end %>
diff --git a/app/views/layouts/_lightboxes.html.erb b/app/views/layouts/_lightboxes.html.erb
index 55ca9eb6..aefc4e1f 100644
--- a/app/views/layouts/_lightboxes.html.erb
+++ b/app/views/layouts/_lightboxes.html.erb
@@ -57,7 +57,7 @@
-
+
terms
diff --git a/app/views/layouts/_mobilemenu.html.erb b/app/views/layouts/_mobilemenu.html.erb
index f51694e8..1042e8de 100644
--- a/app/views/layouts/_mobilemenu.html.erb
+++ b/app/views/layouts/_mobilemenu.html.erb
@@ -8,7 +8,7 @@
<% if not current_user %>
-
- <%= link_to "Home", root_path, :data => { :bypass => 'true'} %>
+ <%= link_to "Home", root_path %>
<% end %>
<% if current_user %>
@@ -18,34 +18,34 @@
<%= current_user.name %>
- <%= link_to "My Maps", explore_mine_path %>
+ <%= link_to "My Maps", explore_mine_path, :data => { :router => 'true'} %>
- <%= link_to "Shared With Me", explore_shared_path %>
+ <%= link_to "Shared With Me", explore_shared_path, :data => { :router => 'true'} %>
<% end %>
- <%= link_to "Recently Active", explore_active_path %>
+ <%= link_to "Recently Active", explore_active_path, :data => { :router => 'true'} %>
<% if not current_user %>
- <%= link_to "Featured Maps", explore_featured_path %>
+ <%= link_to "Featured Maps", explore_featured_path, :data => { :router => 'true'} %>
<% end %>
<% if not current_user %>
- <%= link_to "Request Invite", request_path, :data => { :bypass => 'true'} %>
+ <%= link_to "Request Invite", request_path %>
- <%= link_to "Login", new_user_session_path, :data => { :bypass => 'true'} %>
+ <%= link_to "Login", new_user_session_path %>
<% end %>
<% if current_user %>
- <%= link_to "Account", edit_user_url(current_user), :data => { :bypass => 'true'} %>
+ <%= link_to "Account", edit_user_url(current_user) %>
- <%= link_to "Sign Out", "/logout", id: "Logout", :data => { :bypass => 'true'} %>
+ <%= link_to "Sign Out", "/logout", id: "Logout" %>
<% end %>
diff --git a/app/views/layouts/_templates.html.erb b/app/views/layouts/_templates.html.erb
index 7e5a6293..dd9c2634 100644
--- a/app/views/layouts/_templates.html.erb
+++ b/app/views/layouts/_templates.html.erb
@@ -47,7 +47,7 @@