File: users_controller.rb

package info (click to toggle)
ruby-gettext-rails 2.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,408 kB
  • sloc: ruby: 1,042; makefile: 6
file content (19 lines) | stat: -rw-r--r-- 321 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
class UsersController < ApplicationController
  def error_message
    @user = User.new
    @user.name = "foo"
    @user.lastupdate = "2007-01-01"
    @user.valid?

    @article = Article.new
    @article.valid?
  end
  
  def distance_of_time_in_words
  end

  def foo
  end
  private :foo
  before_init_gettext :foo
end