Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

Conversation

@hoverlover
Copy link
Contributor

@hoverlover hoverlover commented Apr 12, 2012

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
Copy link
Member

@pcreux pcreux commented May 9, 2012

I love it!

@ghost ghost assigned pcreux May 9, 2012
pcreux added a commit that referenced this pull request May 9, 2012
---

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

``` ruby
ActiveAdmin.register Post do
  collection_action :comments, :title => "My Awesome Comments" do
    # do stuff
  end
end
```
@pcreux pcreux merged commit 2ae297e into activeadmin:master May 9, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants