diff options
| author | dima | 2011-12-10 17:21:59 +0100 |
|---|---|---|
| committer | dima | 2011-12-10 17:21:59 +0100 |
| commit | 932790890a583cf877ef06a218316b82a7014b60 (patch) | |
| tree | aa037487e22d6a2c5fa35cce705ee9277f6b200b /lib/inboxes.rb | |
| parent | 58ebf1bc9762a4fc05ecae776253560026b5b030 (diff) | |
| download | inboxes-932790890a583cf877ef06a218316b82a7014b60.tar.bz2 | |
fix readme and remove whitespacetrailing
Diffstat (limited to 'lib/inboxes.rb')
| -rw-r--r-- | lib/inboxes.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/inboxes.rb b/lib/inboxes.rb index f1b9c7a..57dc9a0 100644 --- a/lib/inboxes.rb +++ b/lib/inboxes.rb @@ -6,7 +6,7 @@ require "inboxes/active_record_extension" module Inboxes - + def self.configure(&block) yield @config ||= Inboxes::Configuration.new end @@ -25,11 +25,11 @@ module Inboxes config_accessor :faye_enabled def param_name - config.param_name.respond_to?(:call) ? config.param_name.call() : config.param_name + config.param_name.respond_to?(:call) ? config.param_name.call() : config.param_name end end - + # adding method inboxes for models ActiveRecord::Base.extend(Inboxes::ActiveRecordExtension) - + end |
