From 1a5790235e7a8a996b9f50789a4d5c3d9defb03b Mon Sep 17 00:00:00 2001 From: Xavier Shay Date: Sun, 28 Nov 2010 10:42:43 +1100 Subject: [PATCH] Allow http templates again, fix the broken test --- railties/lib/rails/generators/app_base.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index a560888..2d0c10e 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -102,7 +102,7 @@ module Rails def set_default_accessors! self.rails_template = case options[:template] - when /^https:\/\// + when /^https?:\/\// options[:template] when String File.expand_path(options[:template], Dir.pwd) -- 1.7.3.1