Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 544 Bytes

README.md

File metadata and controls

21 lines (11 loc) · 544 Bytes

Twitter Bootstrap plugin for Devise

Installation and use

List the gems in your application's Gemfile:

gem "less-rails-bootstrap"
gem "less-rails-bootstrap-devise", :git => 'git://github.com/bigbento/less-rails-bootstrap-devise.git'

Bundle your application

bundle install

Require the styles in your stylesheet (e.g. app/assets/stylesheets/application.css):

//= require 'bootstrap-devise-rails'

Replace your yield statement in application.html.erb with:

<%= content_for?(:content) ? yield(:content) : yield %>