seyhunak / twitter-bootstrap-rails

Twitter Bootstrap for Rails 6.0, Rails 5 - Rails 4.x Asset Pipeline
https://github.com/seyhunak/twitter-bootstrap-rails
4.5k stars 998 forks source link

No Documentation for Switching Template Engine #804

Closed elijahmurray closed 9 years ago

elijahmurray commented 9 years ago

I'm trying to generate the templates with slim, but I don't know how to specify which template engine to generate my files in.

toadkicker commented 9 years ago

Hello,

slim-rails should select itself as the default template engine, or you can force it:

class Application < Rails::Application
........................................

    config.generators do |g|
      g.template_engine :slim
    end
end