Sha256: 7e9130778b96f4f831290e128ff4c56e1eccba8d90805e526cf8b70b9aa033e8

Contents?: true

Size: 247 Bytes

Versions: 7

Compression:

Stored size: 247 Bytes

Contents

#encoding: utf-8
<% module_namespacing do -%>
class <%= controller_class_name %>Controller < ApplicationController
  #Make your controller servicable
  include Ns::ControllerServicable
  def model_class
    <%= class_name %>
  end

end
<% end -%>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ns_service_pack-0.1.8 lib/generators/ns/scaffold/templates/rails/scaffold_controller/controller.rb
ns_service_pack-0.1.7 lib/generators/ns/scaffold/templates/rails/scaffold_controller/controller.rb
ns_service_pack-0.1.6 lib/generators/ns/scaffold/templates/rails/scaffold_controller/controller.rb
ns_service_pack-0.1.5 lib/generators/ns/scaffold/templates/rails/scaffold_controller/controller.rb
ns_service_pack-0.1.4 lib/generators/ns/scaffold/templates/rails/scaffold_controller/controller.rb
ns_service_pack-0.1.3 lib/generators/ns/scaffold/templates/rails/scaffold_controller/controller.rb
ns_service_pack-0.1.2 lib/generators/ns/scaffold/templates/rails/scaffold_controller/controller.rb