1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

Ensure to convert template engine to string to properly match haml, closes #359

This commit is contained in:
José Valim 2010-07-04 13:13:00 +02:00
parent 4083d679d4
commit 7113dfe93a

View file

@ -11,7 +11,7 @@ module Devise
:desc => "Template engine for the views. Available options are 'erb' and 'haml'."
def copy_views
case options[:template_engine]
case options[:template_engine].to_s
when "haml"
verify_haml_existence
verify_haml_version