Sha256: 461ef3b60c1fcfe1fdf31215d4fe5594790f1b5ac6b3604f9219296f54e3c1a0

Contents?: true

Size: 289 Bytes

Versions: 4

Compression:

Stored size: 289 Bytes

Contents

module Glengarry
  module ApplicationHelper
    def pagination_count
      count = content_for(:email_count).to_i
      phrase = count < 10 ? "Showing #{count} of #{count}" : "Showing 10 of #{count}"
      return phrase if content_for?(:email_count)
      "No Leads Yet"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
glengarry-0.0.4 app/helpers/glengarry/application_helper.rb
glengarry-0.0.3 app/helpers/glengarry/application_helper.rb
glengarry-0.0.2 app/helpers/glengarry/application_helper.rb
glengarry-0.0.1 app/helpers/glengarry/application_helper.rb