Sha256: 01d2ec7c77562597dc7a5b124be099db9f57a22f1a89f49e084f6f843a8c8f79
Contents?: true
Size: 291 Bytes
Versions: 15
Compression:
Stored size: 291 Bytes
Contents
class Admin::BackendController < AdminAreaController def search @query = params[:query] || '' unless @query.blank? @results = Content.find_with_ferret @query end end def show @content = Content.find(params[:id]) render :template => 'content/show' end end
Version data entries
15 entries across 15 versions & 4 rubygems