lib/pleiades/core/command/routing/result.rb in pleiades-0.1.3 vs lib/pleiades/core/command/routing/result.rb in pleiades-0.1.4

- old
+ new

@@ -25,10 +25,12 @@ rejects = %i[initialize create] << __method__ private_methods(false).without(*rejects) end def command_path - normalize_path(@event_args[:scope], @event_args[:action]) + path = normalize_path(@event_args[:scope], @event_args[:action]) + + path.blank? ? Pleiades::Config.command.default : path end def call_method @options[:method] end