Module: SpecialPagesHelper

Defined in:
app/helpers/special_pages_helper.rb

Instance Method Summary collapse

Instance Method Details



3
4
5
6
7
# File 'app/helpers/special_pages_helper.rb', line 3

def link_to_special_page(body, flag, html_options = {})
    special_page = Page.find_by_flag( flag )
    special_page ||= "#"
    link_to body, special_page, html_options
end