Merge branch 'stable' into develop

This commit is contained in:
Dennis Schubert 2016-02-07 16:31:53 +01:00
commit 15d5e0febc
2 changed files with 2 additions and 1 deletions

View file

@ -126,6 +126,7 @@ Contributions are very welcome, the hard work is done!
* Fix plural rules handling more than wanted as "one" [#6630](https://github.com/diaspora/diaspora/pull/6630)
* Fix `suppress_annoying_errors` eating too much errors [#6653](https://github.com/diaspora/diaspora/pull/6653)
* Ensure the rubyzip gem is properly loaded [#6659](https://github.com/diaspora/diaspora/pull/6659)
* Fix mobile registration layout after failed registration [#6677](https://github.com/diaspora/diaspora/pull/6677)
## Features
* Keyboard shortcuts now do work on profile pages as well [#6647](https://github.com/diaspora/diaspora/pull/6647/files)

View file

@ -22,7 +22,7 @@ class RegistrationsController < Devise::RegistrationsController
flash.now[:error] = @user.errors.full_messages.join(" - ")
logger.info "event=registration status=failure errors='#{@user.errors.full_messages.join(', ')}'"
render :action => 'new', :layout => 'with_header'
render action: "new", layout: request.format == :mobile ? "application" : "with_header"
end
end