Module: Upmin::InstancesHelper
- Defined in:
- app/helpers/upmin/instances_helper.rb
Instance Method Summary collapse
Instance Method Details
#instance_path(instance) ⇒ Object
8 9 10 |
# File 'app/helpers/upmin/instances_helper.rb', line 8 def instance_path(instance) return "#{models_path}#{instance.class.name}/#{instance.id}" end |
#models_path ⇒ Object
4 5 6 |
# File 'app/helpers/upmin/instances_helper.rb', line 4 def models_path return "#{root_path}models/" end |