XanderStrike/caketop-theater

View on GitHub
app/helpers/application_helper.rb

Summary

Maintainability
A
0 mins
Test Coverage
module ApplicationHelper
  def format_num(n)
    n.to_s.reverse.gsub(/...(?=.)/, '\&,').reverse
  end

  def sub_url
    Setting.get(:url).content
  end
end