A helper

Ruby code posted by David
created at 07 Aug 13:57

Edit | Back
1
2
3
4
5
6
7
  def title(text, &block)
    if block_given?
      content_for :title, &block
    else
      content_for :title, text
    end
  end
138 Bytes in 7 ms with coderay