Module: ResolverHelper
- Defined in:
- frontend/app/helpers/resolver_helper.rb
Instance Method Summary collapse
-
#resolve_edit_link_to(label, uri) ⇒ Object
-
#resolve_readonly_link_to(label, uri, active = true) ⇒ Object
Instance Method Details
#resolve_edit_link_to(label, uri) ⇒ Object
8 9 10 |
# File 'frontend/app/helpers/resolver_helper.rb', line 8 def resolve_edit_link_to(label, uri) link_to label, :controller => :resolver, :action => :resolve_edit, :uri => uri end |
#resolve_readonly_link_to(label, uri, active = true) ⇒ Object
3 4 5 |
# File 'frontend/app/helpers/resolver_helper.rb', line 3 def resolve_readonly_link_to(label, uri, active = true) link_to_if active, label, :controller => :resolver, :action => :resolve_readonly, :uri => uri end |