Sha256: 9dcf8ba09e50e0e873666b237af68940c082a5895068df18ac78c80078b90234

Contents?: true

Size: 376 Bytes

Versions: 10

Compression:

Stored size: 376 Bytes

Contents

<% if namespaced? -%>
require_dependency "<%= namespaced_file_path %>/application_controller"
<% end -%>
require 'iord/controller'

<% module_namespacing do -%>
class <%= controller_class_name %>Controller < ApplicationController
  include Iord::Controller

  def index_attrs
    super
  end

  def show_attrs
    super
  end

  def form_attrs
    super
  end
end
<% end -%>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
iord-1.2.2 lib/rails/generators/iord/controller/templates/controller.rb
iord-1.2.1 lib/rails/generators/iord/controller/templates/controller.rb
iord-1.2.0 lib/rails/generators/iord/controller/templates/controller.rb
iord-1.1.3 lib/rails/generators/iord/controller/templates/controller.rb
iord-1.1.2 lib/rails/generators/iord/controller/templates/controller.rb
iord-1.1.1 lib/rails/generators/iord/controller/templates/controller.rb
iord-1.1.0 lib/rails/generators/iord/controller/templates/controller.rb
iord-1.0.3 lib/rails/generators/iord/controller/templates/controller.rb
iord-1.0.2 lib/rails/generators/iord/controller/templates/controller.rb
iord-1.0.1 lib/rails/generators/iord/controller/templates/controller.rb