I am using Rails 4 with the Slim gem.
I would like change the default views generated with the command:
rails g controller Foo
I have Slim as template engine by default but I want other html in the templates.
I am using Rails 4 with the Slim gem.
I would like change the default views generated with the command:
rails g controller Foo
I have Slim as template engine by default but I want other html in the templates.
Currently slim doesn't generate .slim
files for views, it will be Rails default .erb
files. You can actually convert your erb files to slim, here are some references: