# # ishapi / sites / show # key = [ @site, params.permit! ] json.cache! key do json.site do json.id @site.id.to_s json.domain @site.domain json.lang @site.lang json.partial! 'ishapi/newsitems/index', :newsitems => @newsitems end end