Class: Portfolio::SiteItemsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Portfolio::SiteItemsController
- Defined in:
- app/controllers/portfolio/site_items_controller.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
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 |
#show ⇒ Object
16 17 |
# File 'app/controllers/portfolio/site_items_controller.rb', line 16 def show end |