Class: Translate::Routes
- Inherits:
-
Object
- Object
- Translate::Routes
- Defined in:
- lib/translate/routes.rb
Class Method Summary collapse
Class Method Details
.translation_ui(map) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/translate/routes.rb', line 3 def self.translation_ui(map) map.(:controller => 'translate') do |t| t.translate_list 'translate' t.translate 'translate/translate', :action => 'translate' t.translate_reload 'translate/reload', :action => 'reload' end end |