Sha256: 9198823786e0f98c3bd0e97d4ab8bd10170a084fd5306cf8239f812f61202180
Contents?: true
Size: 233 Bytes
Versions: 69
Compression:
Stored size: 233 Bytes
Contents
class TagsController < ResourceController::Base belongs_to :photo index.wants.js index do before { @products = Product.find :all } end create.after do @photo.tags << @tag if parent_type == :photo end end
Version data entries
69 entries across 69 versions & 21 rubygems