Created
June 23, 2010 01:30
-
-
Save yohfee/449352 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%# app/views/hoge_mailer/hoge.erb %> | |
<%=h _('ほげ') %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#app/helpers/hoge_helper.rb | |
module HogeHelper | |
include GetText | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#app/models/hoge_mailer.rb | |
class HogeMailer < ActionMailer::Base | |
helper HogeHelper | |
#省略 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment