Sha256: 380d512dab860b9409a566fcb8899867f9ca315a078d40ad2b157339611b3365

Contents?: true

Size: 154 Bytes

Versions: 4

Compression:

Stored size: 154 Bytes

Contents

class ResourcesController < ApplicationController
  inherit_resources
  def resource_name
    resource_class.name
  end
  helper_method :resource_name
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alpha-simprini-engine-0.0.4 app/controllers/resources_controller.rb
alpha-simprini-engine-0.0.3 app/controllers/resources_controller.rb
alpha-simprini-engine-0.0.2 app/controllers/resources_controller.rb
alpha-simprini-engine-0.0.1 app/controllers/resources_controller.rb