Sha256: 376e8a0e342dca455ee0e271c180262992b7e8d0ada38dfb42b46d7cc4b0fd40

Contents?: true

Size: 542 Bytes

Versions: 1

Compression:

Stored size: 542 Bytes

Contents

module C80SocialNetworks
  module LinksHelper

    def render_social_networks_links_list_icons

      links_list = Link.all.ord_asc

      render :partial => 'c80_social_networks/links_list_icons',
             :locals => {
                 links_list: links_list
             }

    end

    def render_social_networks_links_list_images

      links_list = Link.all.ord_asc

      render :partial => 'c80_social_networks/links_list_images',
             :locals => {
                 links_list: links_list
             }

    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
c80_social_networks-0.1.0.2 app/helpers/c80_social_networks/links_helper.rb