Sha256: ad80321742f8fde62c485743520e370fd67ea2b35c6e56a83d465290f31ac5be

Contents?: true

Size: 209 Bytes

Versions: 10

Compression:

Stored size: 209 Bytes

Contents

module <%= app.classify %>::Controllers::<%= classified_controller_name %>
  class <%= action.classify %>
    include <%= app.classify %>::Action

    def call(params)
      self.body = 'OK'
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
hanami-1.2.0 lib/hanami/cli/commands/generate/action/action_without_view.erb
hanami-1.2.0.rc2 lib/hanami/cli/commands/generate/action/action_without_view.erb
hanami-1.2.0.rc1 lib/hanami/cli/commands/generate/action/action_without_view.erb
hanami-1.2.0.beta2 lib/hanami/cli/commands/generate/action/action_without_view.erb
hanami-1.2.0.beta1 lib/hanami/cli/commands/generate/action/action_without_view.erb
hanami-1.1.1 lib/hanami/cli/commands/generate/action/action_without_view.erb
hanami-1.1.0 lib/hanami/cli/commands/generate/action/action_without_view.erb
hanami-1.1.0.rc1 lib/hanami/cli/commands/generate/action/action_without_view.erb
hanami-1.1.0.beta3 lib/hanami/cli/commands/generate/action/action_without_view.erb
hanami-1.1.0.beta2 lib/hanami/cli/commands/generate/action/action_without_view.erb