Skip to content

Commit

Permalink
Changed if ! to unless
Browse files Browse the repository at this point in the history
  • Loading branch information
rwz committed Jan 11, 2013
1 parent 8c2e4b6 commit d643cbe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ScaffoldGenerator < ResourceGenerator # :nodoc:
class_option :stylesheet_engine, desc: "Engine for Stylesheets"

def handle_skip
@options = @options.merge(stylesheet_engine: false) if !options[:stylesheets]
@options = @options.merge(stylesheet_engine: false) unless options[:stylesheets]
end

hook_for :scaffold_controller, required: true
Expand Down

0 comments on commit d643cbe

Please sign in to comment.