Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

rails helper in controller

ActionController::Base.helpers.<helper_method>
  
# Exemple :

ActionController::Base.helpers.number_to_human(2500, :format => '%n%u', :units => { :thousand => 'K' })
 
PREVIOUS NEXT
Tagged: #rails #helper #controller
ADD COMMENT
Topic
Name
4+4 =