class Bear::Generators::LayoutGenerator
Public Instance Methods
touch_layout_file()
click to toggle source
# File lib/bear/generators/layout_generator.rb, line 12 def touch_layout_file ext = (options.slim?) ? "slim" : "erb" template "layout.html.#{ext}", "app/views/layouts/#{layout}.html.#{ext}" end