diff --git a/app/assets/stylesheets/new_styles/registration.scss b/app/assets/stylesheets/new_styles/_registration.scss similarity index 100% rename from app/assets/stylesheets/new_styles/registration.scss rename to app/assets/stylesheets/new_styles/_registration.scss diff --git a/app/controllers/registrations_controller.rb b/app/controllers/registrations_controller.rb index e1483aa71..171042958 100644 --- a/app/controllers/registrations_controller.rb +++ b/app/controllers/registrations_controller.rb @@ -5,6 +5,8 @@ class RegistrationsController < Devise::RegistrationsController before_filter :check_registrations_open_or_vaild_invite!, :check_valid_invite! + layout "post", :only => :new + def create @user = User.build(params[:user]) @user.process_invite_acceptence(invite) if invite.present?