Class: Helply::CollectionsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/helply/collections_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



5
6
7
# File 'app/controllers/helply/collections_controller.rb', line 5

def index
  @collections = Helply::Collection.index_list
end

#showObject



9
10
11
# File 'app/controllers/helply/collections_controller.rb', line 9

def show
  @collection = Helply::Collection.with_articles(params[:id])
end