Sha256: 2e1d250e1b1bfdeb70729f39e149d622a18c266100d1fa7ca58f5f5e77ca60d5

Contents?: true

Size: 828 Bytes

Versions: 1

Compression:

Stored size: 828 Bytes

Contents

require "rails_page_comment/version"
require 'rails_page_comment/engine'
require 'rails_page_comment/controller_resource'
require 'rails_page_comment/controller_additions'

module RailsPageComment
  # Your code goes here...
  mattr_accessor :show_on_page
  @@show_on_page = true

  mattr_accessor :notify_changes_class_name
  @@notify_changes_class_name  = "RailsPageComment::NotifyChanges"

  mattr_accessor  :notify_changes_method_name
  @@notify_changes_method_name = [:notice_changes]

  mattr_accessor :recipient_email
  @@recipient_email = []

  mattr_accessor :email_from
  @@recipient_email = ""

  mattr_accessor :text_area_cols
  @@text_area_cols = 90

  mattr_accessor :text_area_rows
  @@text_area_rows = 20

  module Helpers

  end


  def self.setup
    yield self
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_page_comment-0.1.0 lib/rails_page_comment.rb