gregbell/active_admin — Issue #1059: Custom page_title on #index don't work
Author: fro
Created: 2012-02-21 21:46:36+00:00
State: open

Hi,

I can define the title in the index block as:

index :page_title => "Custom title" do
column :id
...
...
end

But I can't define the set_a_custom_title method in the controller.

index :page_title => controller.set_a_custom_title do
column :id
...
...
end

`undefined method `set_a_custom_title' for Admin::SessionsController:Class`

Any help appreciated.. :-)