Module: NCore::Base

Extended by:
ActiveSupport::Concern
Defined in:
lib/ncore/base.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#resource_pathObject



38
39
40
# File 'lib/ncore/base.rb', line 38

def resource_path
  "#{self.class.resource_path}/#{CGI.escape((id||'-').to_s)}"
end