Commit 48e185f980dd3c3bb9004447e3081a75f3263d31
1 parent
e09dfc5e
Exists in
master
and in
1 other branch
Include the old layout directly
Showing
2 changed files
with
1 additions
and
2 deletions
Show diff stats
application-ng.html.erb
layouts/angular-layout.html.erb
1 | 1 | <% if params[:angular_theme_old] || request.fullpath.start_with?('/myprofile') %> |
2 | - <%= from_theme_include(current_theme, "application-ng") %> | |
2 | + <%= render file: Rails.root.join("app/views/layouts/application-ng.html.erb"), use_full_path: false %> | |
3 | 3 | <% else %> |
4 | 4 | <%= from_theme_include(current_theme, "index") %> |
5 | 5 | <% end %> | ... | ... |