cirandas.net

ref: master

plugins/networks/lib/networks_plugin/layout_helper.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
module NetworksPlugin::LayoutHelper

  protected

  def network_node?
    profile and profile.is_a?(NetworksPlugin::BaseNode)
  end

  def network_header
    render 'networks_plugin_layouts/header'
  end

end