diff --git a/application-ng.html.erb b/application-ng.html.erb new file mode 120000 index 0000000..9f584f9 --- /dev/null +++ b/application-ng.html.erb @@ -0,0 +1 @@ +../../../../app/views/layouts/application-ng.html.erb \ No newline at end of file diff --git a/index.html.erb b/index.html.erb new file mode 120000 index 0000000..dc972b6 --- /dev/null +++ b/index.html.erb @@ -0,0 +1 @@ +dist/index.html \ No newline at end of file diff --git a/layouts/angular-layout.html.erb b/layouts/angular-layout.html.erb deleted file mode 120000 index ea3bc70..0000000 --- a/layouts/angular-layout.html.erb +++ /dev/null @@ -1 +0,0 @@ -../dist/index.html \ No newline at end of file diff --git a/layouts/angular-layout.html.erb b/layouts/angular-layout.html.erb new file mode 100644 index 0000000..d63b753 --- /dev/null +++ b/layouts/angular-layout.html.erb @@ -0,0 +1,5 @@ +<% if params[:angular_theme_old] || request.fullpath.start_with?('/myprofile') %> + <%= from_theme_include("angular", "application-ng") %> +<% else %> + <%= from_theme_include("angular", "index") %> +<% end %> -- libgit2 0.21.2