Skip to content

Commit

Permalink
Pedanticism FTW: corrects English in comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Yurkowski committed Feb 26, 2012
1 parent 46b1263 commit 6c1ca01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pages/app/helpers/refinery/pages/content_pages_helper.rb
Expand Up @@ -3,15 +3,15 @@ module Pages
module ContentPagesHelper
# Build the html for a Refinery CMS page object by creating a ContentPagePresenter. This is a
# specialised type of ContentPresenter, so the object is then passed to render_content_presenter
# to get it's html. The options are passed to that method, so see render_content_presenter for
# to get its html. The options are passed to that method, so see render_content_presenter for
# more details.
def render_content_page(page, options = {})
content_page_presenter = Refinery::Pages::ContentPagePresenter.new(page, page_title)
render_content_presenter(content_page_presenter, options)
end

# Pass the options into a ContentPresenter object and return it's html. For more
# details see Refinery::Pages::ContentPresenter (and it's subclasses).
# Pass the options into a ContentPresenter object and return its html. For more
# details see Refinery::Pages::ContentPresenter (and its subclasses).
# This method also checks for template overrides. Any template rendered by the
# current action may specify content_for a section using the section's id. For this
# reason, sections should not have an ID which you would normally be using for content_for,
Expand Down
4 changes: 2 additions & 2 deletions pages/lib/refinery/pages/content_page_presenter.rb
Expand Up @@ -2,8 +2,8 @@ module Refinery
module Pages
# A type of ContentPresenter which specifically knows how to render the html for a Refinery CMS
# page object. Pass the page object into the constructor, and it will build sections from the
# pages parts. The page is not stored internally, so if the page changes, you need to rebuild
# this ContentPagePresenter
# page's parts. The page is not retained internally, so if the page changes, you need to rebuild
# this ContentPagePresenter.
class ContentPagePresenter < ContentPresenter
def initialize(page, page_title)
super()
Expand Down

0 comments on commit 6c1ca01

Please sign in to comment.