mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Updated the views generator to respect the rails :template_engine option.
This commit is contained in:
parent
01c272c692
commit
701bbf2d3c
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ module Devise
|
||||||
argument :scope, :required => false, :default => nil,
|
argument :scope, :required => false, :default => nil,
|
||||||
:desc => "The scope to copy views to"
|
:desc => "The scope to copy views to"
|
||||||
|
|
||||||
class_option :template_engine, :type => :string, :aliases => "-t", :default => "erb",
|
class_option :template_engine, :type => :string, :aliases => "-t",
|
||||||
:desc => "Template engine for the views. Available options are 'erb' and 'haml'."
|
:desc => "Template engine for the views. Available options are 'erb' and 'haml'."
|
||||||
|
|
||||||
def copy_views
|
def copy_views
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue