diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index c074be37b..cb517e40b 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -507,7 +507,7 @@ class UsersController < ApplicationController @user.password = @user.password_confirmation = nil respond_to do |format| - format.html { render :action => 'new' } + format.html { render :action => 'new',:layout => "base" } format.api { render_validation_errors(@user) } end end diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index e3b2df048..4967505a3 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -335,7 +335,7 @@ module ApplicationHelper # set the project environment to please macros. @course = course if (ancestors.empty? )#|| course.is_descendant_of?(ancestors.last)) - s << "