Sha256: 90c7195d411384a09a08f0e1b210f52bf27c438dd7e32c9ef1bc131366d63bd2

Contents?: true

Size: 719 Bytes

Versions: 1

Compression:

Stored size: 719 Bytes

Contents

gem_group :assets do
  gem 'twitter-bootstrap-rails'
end

after_bundler do
  generate "bootstrap:install"
  layout = config["twitter_bootstrap_layout"]
  generate "bootstrap:layout #{layout}"
  gsub_file "app/controllers/application_controller.rb", /class ApplicationController < ActionController::Base/, <<-RUBY
class ApplicationController < ActionController::Base
  layout "#{layout}"
RUBY
  
end

__END__

name: Twitter Bootstrap Rails
description: Add Twitter Bootstrap CSS

category: stylesheet
exclusive: stylesheet
tags: [css, stylesheet]

config:
  - twitter_bootstrap_layout:
      prompt: "Which Twitter Bootstrap layout?"
      type: multiple_choice
      choices: [["Fluid", "fluid"], ["Fixed", "fixed"]]


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ey_rails_wizard-0.5.0 scrolls/twitter_bootstrap.rb