Sha256: aa0dda3ed2146c79df3f10648ba9230de60fdfc7e0261b5016cac143ad268bb2

Contents?: true

Size: 157 Bytes

Versions: 6

Compression:

Stored size: 157 Bytes

Contents

module FlyAdmin
  module FootersHelper
    def cut_footer(str)
      if str
        str.length > 30 ? str[0..30] + '...' : str
      end
    end  
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fly_admin-0.0.8 app/helpers/fly_admin/footers_helper.rb
fly_admin-0.0.7 app/helpers/fly_admin/footers_helper.rb
fly_admin-0.0.6 app/helpers/fly_admin/footers_helper.rb
fly_admin-0.0.5 app/helpers/fly_admin/footers_helper.rb
fly_admin-0.0.4 app/helpers/fly_admin/footers_helper.rb
fly_admin-0.0.3 app/helpers/fly_admin/footers_helper.rb