@@ -26,7 +26,6 @@
diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb index 813c214..059fe48 100644 --- a/app/controllers/home_controller.rb +++ b/app/controllers/home_controller.rb @@ -1,6 +1,6 @@ class HomeController < ApplicationController skip_before_filter :authenticate_user! - layout 'home' + layout proc{|controller| request.xhr? ? false : 'marketing'} def index redirect_to dashboard_path if user_signed_in? diff --git a/app/views/fragments/_sidebar.html.erb b/app/views/fragments/_sidebar.html.erb deleted file mode 100644 index 0acf8af..0000000 --- a/app/views/fragments/_sidebar.html.erb +++ /dev/null @@ -1,11 +0,0 @@ -
\ No newline at end of file diff --git a/app/views/fragments/_user_navigation.html.erb b/app/views/fragments/_user_navigation.html.erb deleted file mode 100644 index 6024b0f..0000000 --- a/app/views/fragments/_user_navigation.html.erb +++ /dev/null @@ -1,9 +0,0 @@ -