Skip to content

Commit

Permalink
fixed up whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Feb 16, 2012
1 parent 2ca3b15 commit 3f86c13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/spec/support/background_selenium_firefox_driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ def start
end
end
end
end
end
6 changes: 3 additions & 3 deletions pages/app/controllers/refinery/pages_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def show
else
render_with_templates?
end
end
end
else
error_404
end
Expand All @@ -52,7 +52,7 @@ def should_skip_to_first_child?

def current_user_can_view_page?
@page.live? || current_refinery_user_can_access?("refinery_pages")
end
end

def current_refinery_user_can_access?(plugin)
refinery_user? && current_refinery_user.authorized_plugins.include?(plugin)
Expand All @@ -61,7 +61,7 @@ def current_refinery_user_can_access?(plugin)
def first_live_child
@page.children.order('lft ASC').live.first
end

def find_page
@page ||= case action_name
when "home"
Expand Down

0 comments on commit 3f86c13

Please sign in to comment.