Method: Espresso::View::InstanceMethods#overwrite_path
- Defined in:
- lib/espresso/view.rb
#overwrite_path(overwrites, options = {}) ⇒ String
Overwrites current path. By default uses relative path (started with /), if it is not overwrited in options
56 57 58 59 60 |
# File 'lib/espresso/view.rb', line 56 def overwrite_path(overwrites, = {}) ||= {} [:only_path] = true unless .key?(:only_path) overwrite_url(overwrites, ) end |