app/helpers/blogo/application_helper.rb
# Path to a page or a page in scope of a particular tag.
#
# @param page [Integer]
# @param tag [String, nil]
#
# @retun [String]
Path to a page or a page in scope of a particular tag.
Path to a page or a page in scope of a particular tag .
def path_to_page(page, tag = nil)
      if tag
        blogo_tag_page_path(tag, page)
      else
        blogo_page_path(page)
      end
    end
def path_to_page ( page , tag = nil ) if tag blogo_tag_page_path ( tag , page ) else blogo_page_path ( page ) end end
Path to a page or a page in scope of a particular tag.
Path to a page or a page in scope of a particular tag .
page
<not_specific>
tag
<not_specific>
<not_specific>
None
retun
None