Sha256: aab1b11d4c8d0951b9bdbc28149c5e788b3ab4e89828a5d28e2f1fa015462ec3
Contents?: true
Size: 476 Bytes
Versions: 9
Compression:
Stored size: 476 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
9 entries across 9 versions & 2 rubygems