A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/slim-template/slim-rails below:

slim-template/slim-rails: Slim templates generator for Rails

slim-rails provides Slim generators for Rails:

To use it, add this line to your Gemfile:

And that's it.

Every time you generate a controller or scaffold, you'll get Slim templates.

If you have existing .erb templates, check out our guide How to convert your .erb templates to .slim on how to achieve this.

This gem is tested with Ruby on Rails 5.2+.

slim-rails was based on haml-rails and it does basically the same thing.

From the version 0.2.0, there is no need to include gem "slim" in your Gemfile.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4