Class: Portfolio::SiteItemsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/portfolio/site_items_controller.rb

Direct Known Subclasses

SiteProjectsController

Instance Method Summary collapse

Instance Method Details

#indexObject



11
12
13
14
# File 'app/controllers/portfolio/site_items_controller.rb', line 11

def index
  @items = resource.where(site: @site)
  @tag = SiteItemTag.find_by_key(params[:tag_key]) if params[:tag_key]
end

#showObject



16
17
# File 'app/controllers/portfolio/site_items_controller.rb', line 16

def show
end