From 149cf1a6ad493f3aa57c7fa0adfcbeda4e94c9d9 Mon Sep 17 00:00:00 2001 From: Kir Date: Thu, 26 Jan 2012 12:36:32 +0200 Subject: Added fake_app --- lib/inboxes.rb | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib') diff --git a/lib/inboxes.rb b/lib/inboxes.rb index 57dc9a0..a8192dc 100644 --- a/lib/inboxes.rb +++ b/lib/inboxes.rb @@ -4,9 +4,7 @@ require "inboxes/ability" require "inboxes/engine" require "inboxes/active_record_extension" - module Inboxes - def self.configure(&block) yield @config ||= Inboxes::Configuration.new end @@ -31,5 +29,4 @@ module Inboxes # adding method inboxes for models ActiveRecord::Base.extend(Inboxes::ActiveRecordExtension) - end -- cgit v1.2.3 From e18d5bc0f4f81ea7b382c92601e141910ead646a Mon Sep 17 00:00:00 2001 From: Kir Date: Thu, 26 Jan 2012 19:59:41 +0200 Subject: Adding fake_app with specs --- lib/inboxes.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/inboxes.rb b/lib/inboxes.rb index a8192dc..af88b0c 100644 --- a/lib/inboxes.rb +++ b/lib/inboxes.rb @@ -3,6 +3,7 @@ require "inboxes/railtie" require "inboxes/ability" require "inboxes/engine" require "inboxes/active_record_extension" +require "cancan" module Inboxes def self.configure(&block) -- cgit v1.2.3