lib/administrate/page/show.rb in administrate-0.1.0 vs lib/administrate/page/show.rb in administrate-0.1.1
- old
+ new
@@ -9,10 +9,10 @@
end
attr_reader :resource
def page_title
- resource.to_s
+ dashboard.display_resource(resource)
end
def attributes
dashboard.show_page_attributes.map do |attr_name|
attribute_field(dashboard, resource, attr_name, :show)