Commit 1cc7142d50786ebbe3afe6cf8f2173362db0783d

Authored by Victor Costa
1 parent 2e516733

Check angular theme conditions

application-ng.html.erb 0 → 120000
... ... @@ -0,0 +1 @@
  1 +../../../../app/views/layouts/application-ng.html.erb
0 2 \ No newline at end of file
... ...
index.html.erb 0 → 120000
... ... @@ -0,0 +1 @@
  1 +dist/index.html
0 2 \ No newline at end of file
... ...
layouts/angular-layout.html.erb
... ... @@ -1 +0,0 @@
1   -../dist/index.html
2 0 \ No newline at end of file
layouts/angular-layout.html.erb 0 → 100644
... ... @@ -0,0 +1,5 @@
  1 +<% if params[:angular_theme_old] || request.fullpath.start_with?('/myprofile') %>
  2 + <%= from_theme_include("angular", "application-ng") %>
  3 +<% else %>
  4 + <%= from_theme_include("angular", "index") %>
  5 +<% end %>
... ...