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

Added support to pages for setting a custom title #1468

Merged
merged 1 commit into from Jul 4, 2012

Conversation

gregbell
Copy link
Contributor

@gregbell gregbell commented Jul 4, 2012

  • To mimic the APIs of the other resources, the page #content DSL method
    now accepts a hash with the "title" key
  • :title can be set to a string to be rendered, a symbol to be called
    in the context of the view, or a proc to be run at render-time
  • Updated the dashboard template to use I18n and procs for the page
    title and menu items

* To mimic the APIs of the other resources, the page #content DSL method
  now accepts a hash with the "title" key
* `:title` can be set to a string to be rendered, a symbol to be called
  in the context of the view, or a proc to be run at render-time
* Updated the dashboard template to use I18n and procs for the page
  title and menu items
@travisbot
Copy link

This pull request passes (merged 3ea2ea6 into 645a8ca).

pcreux added a commit that referenced this pull request Jul 4, 2012
Added support to pages for setting a custom title
@pcreux pcreux merged commit e2030ef into master Jul 4, 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
Development

Successfully merging this pull request may close these issues.

None yet

4 participants