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
merged 1 commit into from May 9, 2012

Conversation

Projects
None yet
2 participants
@hoverlover
Contributor

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

This comment has been minimized.

Show comment
Hide comment
@pcreux

pcreux May 9, 2012

Contributor

I love it!

Contributor

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

Merge pull request #1228 from genuitytech/active_admin
---

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