diff --git a/app/controllers/profiles_controller.rb b/app/controllers/profiles_controller.rb index 0f7d62604..4a78e21d4 100644 --- a/app/controllers/profiles_controller.rb +++ b/app/controllers/profiles_controller.rb @@ -6,7 +6,7 @@ class ProfilesController < ApplicationController before_filter :authenticate_user!, :except => ['show'] before_filter -> { @css_framework = :bootstrap }, only: [:show, :edit] - layout ->(c) { request.format == :mobile ? "application" : "with_header_with_footer" } + layout ->(c) { request.format == :mobile ? "application" : "with_header_with_footer" }, only: [:show, :edit] respond_to :html, :except => [:show] respond_to :js, :only => :update diff --git a/app/controllers/services_controller.rb b/app/controllers/services_controller.rb index f33f87e22..69fc83a0e 100644 --- a/app/controllers/services_controller.rb +++ b/app/controllers/services_controller.rb @@ -10,7 +10,7 @@ class ServicesController < ApplicationController before_filter :abort_if_already_authorized, :abort_if_read_only_access, :only => :create before_filter -> { @css_framework = :bootstrap }, only: [:index] - layout ->(c) { request.format == :mobile ? "application" : "with_header_with_footer" } + layout ->(c) { request.format == :mobile ? "application" : "with_header_with_footer" }, only: [:index] respond_to :html respond_to :json, :only => :inviter diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 059dfc7fb..ef0ec6d14 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -6,7 +6,7 @@ class UsersController < ApplicationController before_filter :authenticate_user!, :except => [:new, :create, :public, :user_photo] before_filter -> { @css_framework = :bootstrap }, only: [:privacy_settings, :edit] - layout ->(c) { request.format == :mobile ? "application" : "with_header_with_footer" } + layout ->(c) { request.format == :mobile ? "application" : "with_header_with_footer" }, only: [:privacy_settings, :edit] use_bootstrap_for :getting_started