Sha256: 339192f34407522c1c8bf71ae2427bd8841e20bf1718ba9f762a0d23bbbea6af
Contents?: true
Size: 478 Bytes
Versions: 17
Compression:
Stored size: 478 Bytes
Contents
module Spree module Admin class PropertiesController < ResourceController # Looks like this action is unused def filtered @properties = Property.where('lower(name) LIKE ?', "%#{params[:q].mb_chars.downcase}%").order(:name) respond_with(@properties) do |format| format.html { render :template => "spree/admin/properties/filtered", :formats => [:html], :handlers => [:erb], :layout => false } end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems