localization_generator 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/templates/README +8 -2
  2. metadata +1 -1
data/templates/README CHANGED
@@ -1,13 +1,19 @@
1
1
  == Installation
2
2
 
3
- After generating the login system, open your application.rb controller.
4
- The beginning of your ApplicationController should look something like this:
3
+ After generating the login system, edit your app/controllers/application.rb
4
+ and app/helpers/application_helper.rb files. The beginning of your
5
+ ApplicationController should look something like this:
5
6
 
6
7
  require '<%= singular_name %>'
7
8
 
8
9
  class ApplicationController < ActionController::Base
9
10
  include <%= class_name %>
10
11
 
12
+ And your ApplicationHelper module should look like this:
13
+
14
+ module ApplicationHelper
15
+ include <%= class_name %>
16
+
11
17
  Additionally, you'll need to includes this module as appropriate to use it
12
18
  elsewhere, such as in your views. You also need to add the following at the end
13
19
  of your config/environment.rb file:
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.8.8
3
3
  specification_version: 1
4
4
  name: localization_generator
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.3
6
+ version: 1.0.4
7
7
  date: 2005-04-19
8
8
  summary: "[Rails] Localization generator."
9
9
  require_paths: