Fix mobile sign in page regression
This commit is contained in:
parent
2b50001286
commit
987c982bb5
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
class SessionsController < Devise::SessionsController
|
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
|
use_bootstrap_for :new
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue