Commit 48e185f980dd3c3bb9004447e3081a75f3263d31

Authored by Victor Costa
1 parent e09dfc5e
Exists in master and in 1 other branch dev-fixes

Include the old layout directly

application-ng.html.erb
... ... @@ -1 +0,0 @@
1   -../../../../app/views/layouts/application-ng.html.erb
2 0 \ No newline at end of file
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 %>
... ...