app/helpers/application_helper/toolbar/summary_center.rb
class ApplicationHelper::Toolbar::SummaryCenter < ApplicationHelper::Toolbar::Basic
button_group('record_summary', [
button(
:show_summary,
'fa fa-arrow-left fa-lg',
proc do
_('Show %{object_name} Summary') % {:object_name => @record.name}
end,
nil,
:url => "/show",
:url_parms => Proc.new { "?id=#{@record.id}" },
:klass => ApplicationHelper::Button::ShowSummary),
])
end