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:
parent
d2a49e4b1f
commit
7b98d2aa59
4 changed files with 2 additions and 2 deletions
|
@ -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
|
|
@ -1,5 +1,5 @@
|
|||
require 'generators/generators_test_helper'
|
||||
require 'generators/mailer_generator'
|
||||
require 'rails/generators/mailer/mailer_generator'
|
||||
|
||||
|
||||
class MailerGeneratorTest < Rails::Generators::TestCase
|
||||
|
|
Loading…
Reference in a new issue