Sha256: b634d500c289022fcb05b3b1f5980e3938261c4bb01ea29b5f916ec190c605e3
Contents?: true
Size: 633 Bytes
Versions: 18
Compression:
Stored size: 633 Bytes
Contents
module Cmor module Contact # Example: # # # app/controllers/application_controller.rb # class ApplicationController < ActionController::Base # view_helper Cmor::Contact::ApplicationViewHelper, as: :contact_helper # end # class ApplicationViewHelper < Rao::ViewHelper::Base # Example: # # # app/views/layouts/application.html.haml # = contact_helper(self).render_whatsapp_widget # def render_whatsapp_widget(options = {}) resource = Cmor::Contact::WhatsappRequest.new render resource: resource end end end end
Version data entries
18 entries across 18 versions & 1 rubygems