Skip to content

Commit

Permalink
Merge pull request diaspora#5136 from svbergerem/fix-regression-login…
Browse files Browse the repository at this point in the history
…-css

Fix mobile sign in page regression
  • Loading branch information
jhass committed Aug 21, 2014
2 parents 2b50001 + 987c982 commit 18ead3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/sessions_controller.rb
Expand Up @@ -4,7 +4,7 @@

class SessionsController < Devise::SessionsController

layout "with_header_with_footer", :only => [:new]
layout ->(c) { request.format == :mobile ? "application" : "with_header_with_footer" }, :only => [:new]
use_bootstrap_for :new

end

0 comments on commit 18ead3e

Please sign in to comment.