Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Ensure we don't leave off the type to override anymore and make it ea…

…sier to see the examples at a code level.
  • Loading branch information...
commit ac7e08d1aae45695587fe949fd10048bae664082 1 parent 48f4b6b
@parndt parndt authored
Showing with 11 additions and 8 deletions.
  1. +11 −8 core/lib/tasks/refinery.rake
View
19 core/lib/tasks/refinery.rake
@@ -115,14 +115,17 @@ namespace :refinery do
end
else
puts "You didn't specify anything to override. Here's some examples:"
- puts "rake refinery:override view=pages/home"
- puts "rake refinery:override view=pages/home theme=demolicious"
- puts "rake refinery:override view=**/*menu"
- puts "rake refinery:override view=shared/_menu_branch"
- puts "rake refinery:override javascript=jquery"
- puts "rake refinery:override stylesheet=refinery/site_bar"
- puts "rake refinery:override controller=pages"
- puts "rake refinery:override model=page"
+ {
+ :view => ['pages/home', 'pages/home theme=demolicious', '**/*menu', 'shared/_menu_branch'],
+ :javascript => %w(jquery),
+ :stylesheet => %w(refinery/site_bar),
+ :controller => %w(pages),
+ :model => %w(page)
+ }.each do |type, examples|
+ examples.each do |example|
+ puts "rake refinery:override #{type}=#{example}"
+ end
+ end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.