Sha256: 6cee1280720dfe1d8e89d7bc8c972e714e1c5915f8a62731dfec868401addab4

Contents?: true

Size: 230 Bytes

Versions: 3

Compression:

Stored size: 230 Bytes

Contents

module Feedshub
  module FeedsHelper
    def github_feeds(limit=ENV['github_feeds_number'].to_i)
      @entries = Feedshub::GithubFeedEntry.public_feeds(limit)
      render partial: 'feedshub/feeds/github_feeds'
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
feedshub-1.0.2 app/helpers/feedshub/feeds_helper.rb
feedshub-1.0.1 app/helpers/feedshub/feeds_helper.rb
feedshub-1.0.0 app/helpers/feedshub/feeds_helper.rb