0
@@ -24,18 +24,15 @@ Check for news and tutorials at the {project home page}[http://www.lucaguidi.com
0
$ ./script/plugin install git://github.com/jodosha/click-to-globalize.git
0
-3. Add to ApplicationController:
0
- around_filter :observe_locales
0
+3. Edit config/click.yml
0
-4. Edit config/click.yml
0
-5. Add at the end of your layout the following code:
0
+4. Add at the end of your layout the following code:
0
<%= click_to_globalize -%>
0
-
7. Start your server and click to globalize.
0
+
6. Start your server and click to globalize.
0
@@ -79,10 +76,7 @@ Check for news and tutorials at the {project home page}[http://www.lucaguidi.com
0
or markdown (BlueCloth). Edit config/click.yml
0
-8. Add to ApplicationController:
0
- around_filter :observe_locales
0
-9. Personalize the access to the globalization features, overriding #globalize:
0
+8. Personalize the access to the globalization features, overriding #globalize:
0
class ApplicationController < ActionController::Base
0
@@ -91,7 +85,7 @@ Check for news and tutorials at the {project home page}[http://www.lucaguidi.com
0
NOTE: #globalize? is method to turn on/off all the Click to Globalize features.
0
-
10. Add at the end of your layout the following code:
0
+
9. Add at the end of your layout the following code:
0
<%= click_to_globalize -%>
0
@@ -132,7 +126,7 @@ Check for news and tutorials at the {project home page}[http://www.lucaguidi.com
0
security problems (i.e. XSS).
0
<%= textilize(h('some_text'.t)) %>
0
+
* The official Globalize repository is still *not compatible with Rails 2.1*, use the {heythisisnate's fork}[http://github.com/heythisisnate/globalize/tree] instead.0
@@ -142,7 +136,7 @@ Check for news and tutorials at the {project home page}[http://www.lucaguidi.com
0
* Create a ticket to the {Sushistar Lighthouse page}[http://sushistar.lighthouseapp.com]
0
-* Create a patch and add as attach
ement to the ticket.
0
+* Create a patch and add as attach
ment to the ticket.