Sha256: 5670839f6974688b890c301396c67c248423bafd6406c1bf9ffe3d55d5c30a15
Contents?: true
Size: 672 Bytes
Versions: 8
Compression:
Stored size: 672 Bytes
Contents
# slim-rails slim-rails provides Slim generators for Rails 3 and 4. It was based on [haml-rails](http://github.com/indirect/haml-rails) and it does basically the same: * Any time you generate a controller or scaffold, you'll get Slim templates (instead of ERB) * When your Rails application loads, Slim will be loaded and initialized automatically * Slim templates will be respected by the view template cache digestor To use it, add this line to your Gemfile: ```ruby gem "slim-rails" ``` And that's it. From the version 0.2.0, there is no need to include gem "slim" in your Gemfile. Every time you generate a controller or scaffold, you'll get Slim templates.
Version data entries
8 entries across 8 versions & 1 rubygems