Can now set page title for member and collection actions. #1228

Merged
merged 1 commit into from May 9, 2012

Projects

None yet

2 participants

@hoverlover
Contributor

With this commit, setting the page title for collection and member actions is consistent with how it is done with the standard actions:

ActiveAdmin.register Post do
  collection_action :comments, :title => "My Awesome Comments" do
    # do stuff
  end
end
@pcreux
Contributor
pcreux commented May 9, 2012

I love it!

@pcreux pcreux was assigned May 9, 2012
@pcreux pcreux merged commit 2ae297e into activeadmin:master May 9, 2012
@pcreux pcreux was unassigned by hoverlover Aug 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment