Sha256: 61548aaab7768793e38c0881a56666019db6271fb99dd2444dabab7a962f38f5
Contents?: true
Size: 357 Bytes
Versions: 5
Compression:
Stored size: 357 Bytes
Contents
module Refinery module Products class ProductsController < ::ApplicationController def show @product = Product.find(params[:id]) # you can use meta fields from your model instead (e.g. browser_title) # by swapping @page for @product in the line below: present(@page) end protected end end end
Version data entries
5 entries across 5 versions & 1 rubygems