Class: Jabe::FeedController

Inherits:
ApplicationController show all
Defined in:
app/controllers/jabe/feed_controller.rb

Instance Method Summary collapse

Methods included from BodyClassHelper

#body_class_name, included

Methods included from PublicEntryUrl

included, #public_entry_url

Instance Method Details

#indexObject



3
4
5
6
# File 'app/controllers/jabe/feed_controller.rb', line 3

def index
  @entries = Entry.published.page(params[:page]).
    per( Jabe::SETTINGS.entries_per_page || 5)
end