mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Edited lib/generators/devise/views_generator.rb via GitHub
This commit is contained in:
parent
425fe7f22d
commit
56fd7031e5
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ module Devise
|
||||||
:desc => "The scope to copy views to"
|
:desc => "The scope to copy views to"
|
||||||
|
|
||||||
class_option :template_engine, :type => :string, :aliases => "-t",
|
class_option :template_engine, :type => :string, :aliases => "-t",
|
||||||
:desc => "Template engine for the views. Available options are 'erb', 'haml' and 'slim'."
|
:desc => "Template engine for the views. Available option is only 'erb'."
|
||||||
|
|
||||||
def copy_views
|
def copy_views
|
||||||
template = options[:template_engine].to_s
|
template = options[:template_engine].to_s
|
||||||
|
|
Loading…
Reference in a new issue