Module: Zena::Use::Urls::ViewMethods

Includes:
RubyLess, Common, ViewAndControllerMethods
Defined in:
lib/zena/use/urls.rb

Overview

ControllerMethods

Constant Summary

Constants included from Common

Common::CACHESTAMP_FORMATS

Instance Method Summary collapse

Methods included from ViewAndControllerMethods

#host_with_port, #http_protocol

Methods included from Common

#append_query_params, #basepath_as_url, #cachestamp_format?, #data_path, #host_with_port, #http_protocol, #make_cachestamp, #path_params, #prefix, #query_params, #should_cachestamp?, #unlink_node_path, #zen_path, #zen_url

Instance Method Details

#dummy_zen_path(string, options = {}) ⇒ Object



330
331
332
333
334
335
336
# File 'lib/zena/use/urls.rb', line 330

def dummy_zen_path(string, options = {})
  if anchor = options.delete(:anchor)
    "#{string}##{anchor}"
  else
    "#{string}"
  end
end