aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/lib/controller/fake_models.rb
diff options
context:
space:
mode:
authorCarsten Gehling <cg@cg-laptop.(none)>2009-12-29 13:06:19 +0100
committerJosé Valim <jose.valim@gmail.com>2010-01-02 22:27:02 +0100
commitbef968d37942bfb2b7a59fca0e4451e096197c0a (patch)
tree544865b276f700657666ce5d26bd8205691f0afa /actionpack/test/lib/controller/fake_models.rb
parent653fa4c10c3e4a34cfe0fe93a2612ed178ca4455 (diff)
downloadrails-bef968d37942bfb2b7a59fca0e4451e096197c0a.tar.gz
rails-bef968d37942bfb2b7a59fca0e4451e096197c0a.tar.bz2
rails-bef968d37942bfb2b7a59fca0e4451e096197c0a.zip
I18n label helper [#745 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'actionpack/test/lib/controller/fake_models.rb')
-rw-r--r--actionpack/test/lib/controller/fake_models.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/lib/controller/fake_models.rb b/actionpack/test/lib/controller/fake_models.rb
index 823de8bdc7..b0e5d7a94c 100644
--- a/actionpack/test/lib/controller/fake_models.rb
+++ b/actionpack/test/lib/controller/fake_models.rb
@@ -54,6 +54,7 @@ end
class Post < Struct.new(:title, :author_name, :body, :secret, :written_on, :cost)
extend ActiveModel::Naming
include ActiveModel::Conversion
+ extend ActiveModel::Translation
alias_method :secret?, :secret