lib/grumlin/middlewares/apply_shortcuts.rb in grumlin-0.23.0 vs lib/grumlin/middlewares/apply_shortcuts.rb in grumlin-1.0.0.rc1
- old
+ new
@@ -1,12 +1,8 @@
# frozen_string_literal: true
-module Grumlin
- module Middlewares
- class ApplyShortcuts < Middleware
- def call(env)
- env[:steps_without_shortcuts] = ShortcutsApplyer.call(env[:steps])
- @app.call(env)
- end
- end
+class Grumlin::Middlewares::ApplyShortcuts < Grumlin::Middlewares::Middleware
+ def call(env)
+ env[:steps_without_shortcuts] = Grumlin::ShortcutsApplyer.call(env[:steps])
+ @app.call(env)
end
end