Sha256: 665d82ce85bf3f8aa4cb833be7cc08051417230d4ed12f125cacd2cf12ba9ca8
Contents?: true
Size: 744 Bytes
Versions: 13
Compression:
Stored size: 744 Bytes
Contents
# # ishapi / reports / show # key = [ @report, params.permit! ] json.cache! key do json.report do json.id @report.id.to_s json.name @report.name json.reportname @report.name_seo if @report.photo json.photo_url @report.photo.photo.url( :small ) json.thumb_url @report.photo.photo.url( :thumb ) end # @TODO: move this to meta json.created_at @report.created_at.strftime('%Y%m%d') json.updated_at @report.updated_at.strftime('%Y%m%d') json.username @report.username json.cityname @report.city.cityname if @report.city json.tagname @report.tag.name_seo if @report.tag json.subhead @report.subhead json.description @report.descr end end
Version data entries
13 entries across 13 versions & 1 rubygems