Sha256: c0229bacd0eb7677829d0795a3da1e5201296102863591795ba9281fe4892ced

Contents?: true

Size: 230 Bytes

Versions: 1

Compression:

Stored size: 230 Bytes

Contents

module SubjectsHelper
  def toolbar_menu(option = nil, &block)
    if option
      content_for("menu_#{ option }".to_sym, &block)
    end

    content_for(:toolbar) do
      render :partial => 'subjects/toolbar'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
social_stream-0.4.0 app/helpers/subjects_helper.rb