Sha256: a755166b8f32d36c0871ca6f0b9239bd7bc645a6bad014d242d9ab0bdca53dd8
Contents?: true
Size: 784 Bytes
Versions: 20
Compression:
Stored size: 784 Bytes
Contents
# # ishapi / reports / show # params.permit! key = [ @report, params ] 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.user_profile.name if @report.user_profile 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
20 entries across 20 versions & 1 rubygems