Sha256: a5ae2c7c87390bbd90e01b0b0302d2cdfbebd82c5cde58b7b534c4d71f52071d
Contents?: true
Size: 547 Bytes
Versions: 20
Compression:
Stored size: 547 Bytes
Contents
module Cmor module Tags # Example: # # # app/controllers/application_controller.rb # class ApplicationController < ActionController::Base # view_helper Cmor::Tags::ApplicationViewHelper, as: :tags_helper # end # class ApplicationViewHelper < Rao::ViewHelper::Base # Example: # # # app/views/posts/_post.html.haml # = tags_helper(self).render_tags_for(post) # def render_tags_for(resource) render resource: resource end end end end
Version data entries
20 entries across 20 versions & 1 rubygems