Ruby on Rails : twitter-bootstrap-rails generate a controller -
hi in rails app im using twitter-bootstrap framework. i've generate controller
rails g controller controller_name action1 action2
how can add bootstrap views?
can use generator?
assuming installed gem 'twitter-bootstrap-rails'
gem.
you need run generator rails generate bootstrap:install static
install related files application.
once done this, can generate layout , theme, example rails g bootstrap:themed posts
you can find more details twitter-bootstrap-rails
you can view video tutorial railscasts twitter bootstrap basics
Comments
Post a Comment