Skip to content

Commit

Permalink
Revert "render method should be public to avoid test issues"
Browse files Browse the repository at this point in the history
This reverts commit f8dc092.
  • Loading branch information
Brian Butz committed Feb 22, 2012
1 parent f8dc092 commit 92274a6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pages/lib/refinery/pages/instance_methods.rb
Expand Up @@ -12,18 +12,18 @@ def error_404(exception=nil)
end
end

def render(*args)
present(@page) unless admin? or @meta.present?
super
end

protected
protected
def find_pages_for_menu
# Compile the menu
@menu_pages = ::Refinery::Menu.new(::Refinery::Page.fast_menu)
end

private
def render(*args)
present(@page) unless admin? or @meta.present?
super
end

private
def store_current_location!
return super if admin?

Expand Down

0 comments on commit 92274a6

Please sign in to comment.