Sha256: 6a91afe6f6421318feea00d26399b6ddb03a2200345f5981a309c5383ddc1371
Contents?: true
Size: 362 Bytes
Versions: 2
Compression:
Stored size: 362 Bytes
Contents
module ActionMetaTags module Helpers extend ActiveSupport::Concern def meta_tags(object) class_name = [ 'Meta', params[:controller].capitalize, params[:action].capitalize ].join('::') class_name.constantize.new(object).render(self) end private def find_domain(host) host end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
action_meta_tags-0.1.1 | lib/action_meta_tags/helpers.rb |
action_meta_tags-0.1 | lib/action_meta_tags/helpers.rb |