Sha256: 0bdc62cf3424cfb82bec25f4b249b5d3016a7380f280744ba60f25c2113c3f0a

Contents?: true

Size: 286 Bytes

Versions: 16

Compression:

Stored size: 286 Bytes

Contents

module CoreHelper

  def app_title
    "Default App Title"
  end

  def app_email
    "contact@example.com"
  end
  
  def title_separator
    "|"
  end

  def truncate_content(content, length=300)
    raw truncate(strip_tags(content), :length => length, :omission => '... ')
  end

end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
mix-rails-0.26.3 mix-rails-core/app/helpers/core_helper.rb
mix-rails-core-0.26.3 app/helpers/core_helper.rb
mix-rails-0.26.2 mix-rails-core/app/helpers/core_helper.rb
mix-rails-core-0.26.2 app/helpers/core_helper.rb
mix-rails-0.26.1 mix-rails-core/app/helpers/core_helper.rb
mix-rails-core-0.26.1 app/helpers/core_helper.rb
mix-rails-0.26.0 mix-rails-core/app/helpers/core_helper.rb
mix-rails-core-0.26.0 app/helpers/core_helper.rb
mix-rails-0.25.1 mix-rails-core/app/helpers/core_helper.rb
mix-rails-core-0.25.1 app/helpers/core_helper.rb
mix-rails-0.25.0 mix-rails-core/app/helpers/core_helper.rb
mix-rails-core-0.25.0 app/helpers/core_helper.rb
mix-rails-0.24.1 mix-rails-core/app/helpers/core_helper.rb
mix-rails-core-0.24.1 app/helpers/core_helper.rb
mix-rails-0.24.0 mix-rails-core/app/helpers/core_helper.rb
mix-rails-core-0.24.0 app/helpers/core_helper.rb