1
0
Fork 0
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:
José Valim 2011-04-04 02:48:41 -07:00
parent 425fe7f22d
commit 56fd7031e5

View file

@ -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