Class: FeedsuckerFeedsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/feedsucker_feeds_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



6
7
8
9
10
# File 'app/controllers/feedsucker_feeds_controller.rb', line 6

def index
  # you can use meta fields from your model instead (e.g. browser_title)
  # by swapping @page for @feedsucker_feed in the line below:
  present(@page)
end

#showObject



12
13
14
15
16
17
18
# File 'app/controllers/feedsucker_feeds_controller.rb', line 12

def show
  @feedsucker_feed = FeedsuckerFeed.find(params[:id])

  # you can use meta fields from your model instead (e.g. browser_title)
  # by swapping @page for @feedsucker_feed in the line below:
  present(@page)
end