From 9ca153fd0c4a929cd696279f1b172297d8813c8a Mon Sep 17 00:00:00 2001 From: Philip Arndt Date: Tue, 8 Mar 2011 15:27:03 +1300 Subject: [PATCH] Fix small doc typo --- bin/refinerycms | 2 +- core/app/views/shared/_menu.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/refinerycms b/bin/refinerycms index 4f24411ea8..8c732802b7 100755 --- a/bin/refinerycms +++ b/bin/refinerycms @@ -54,7 +54,7 @@ module Refinery puts "To update your application:" puts "- Change the version of the 'refinerycms' gem in your Gemfile." puts "- Run bundle install" - puts "- Run rake refinery:update" + puts "- Run rails generate refinerycms --update" puts "\n" exit(1) end diff --git a/core/app/views/shared/_menu.html.erb b/core/app/views/shared/_menu.html.erb index 4aeaa99c87..1dd3be81bc 100644 --- a/core/app/views/shared/_menu.html.erb +++ b/core/app/views/shared/_menu.html.erb @@ -6,7 +6,7 @@ collection ||= @menu_pages.includes(:slugs) if (roots ||= collection.select{|p| p.parent_id.nil?}).present? # In order to match items that aren't shown in menu and highlight their associations. - # This can be supplied if the logic different in your case. + # This can be supplied if the logic is different in your case. unless defined?(selected_item) selected_item = collection.detect{|page| selected_page?(page)} selected_item = @page if selected_item.nil?