1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Reorganize the mailer generator a bit.

This commit is contained in:
José Valim 2010-04-30 12:11:38 +02:00
parent d2a49e4b1f
commit 7b98d2aa59
4 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ module Rails
check_class_collision
def self.source_root
File.expand_path("../mailer/templates", __FILE__)
File.expand_path("../templates", __FILE__)
end
def create_mailer_file

View file

@ -1,5 +1,5 @@
require 'generators/generators_test_helper'
require 'generators/mailer_generator'
require 'rails/generators/mailer/mailer_generator'
class MailerGeneratorTest < Rails::Generators::TestCase