app/helpers/users_helper.rb
# document user balance calculation in users/show page (mouse over for balance)
document user balance calculation in users/show page (mouse over for balance)
document user balance calculation in users / show page ( mouse over for balance )
def api_user_link (provider, page_values)
    if provider == 'all'
      if page_values[:apiname] == 'all'
        t '.api_user_all_link_text'
      else
        link_to t('.api_user_all_link_text'), users_path(page_values.merge(:apiname => 'all'))
      end
    else
      if provider == page_values[:apiname]
        provider_camelize(provider)
      else
        link_to provider_camelize(provider), users_path(page_values.merge(:apiname => provider))
      end
    end
  end
def api_user_link ( provider , page_values ) if provider == 'all' if page_values [ :apiname ] == 'all' t '.api_user_all_link_text' else link_to t ( '.api_user_all_link_text' ) , users_path ( page_values . merge ( :apiname => 'all' ) ) end else if provider == page_values [ :apiname ] provider_camelize ( provider ) else link_to provider_camelize ( provider ) , users_path ( page_values . merge ( :apiname => provider ) ) end end end
document user balance calculation in users/show page (mouse over for balance)
document user balance calculation in users / show page ( mouse over for balance )
provider
<not_specific>
page_values
<not_specific>