Sha256: baa3ef1f63d9d13aa4ee4e0e4689c99857598d6286f0b503c0e0125ac29a9983
Contents?: true
Size: 474 Bytes
Versions: 3
Compression:
Stored size: 474 Bytes
Contents
require_relative 'base' module AdminCore module ResourcePage class Show < Base # Implementation for ResourcePage$Show type. # @see client/javascripts/src/qiita-admin/admin-core/decls.js def to_hash { resource: resource_manager.convert_for_show_page(resource) } end private # @return [ActiveRecord::Base] def resource @resource ||= resource_manager.find(params) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
admin_core-0.0.3 | lib/admin_core/resource_page/show.rb |
admin_core-0.0.2 | lib/admin_core/resource_page/show.rb |
admin_core-0.0.1 | lib/admin_core/resource_page/show.rb |