aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2012-01-28 20:02:13 -0800
committerPhilip Arndt <parndt@gmail.com>2012-01-28 20:02:13 -0800
commitd8bdcb482ce51205bfdde0b39a02f7eba49e23e9 (patch)
tree2c896df9bd0a66aa288bfdf8f30fe767516ec0bc /lib
parentd1ad82d42eceb53b203716e1c37f4fbb326a2ee8 (diff)
parente274bb1757aa3c27645c181bae6164131a7a35dd (diff)
downloadrefinerycms-blog-d8bdcb482ce51205bfdde0b39a02f7eba49e23e9.tar.gz
refinerycms-blog-d8bdcb482ce51205bfdde0b39a02f7eba49e23e9.tar.bz2
refinerycms-blog-d8bdcb482ce51205bfdde0b39a02f7eba49e23e9.zip
Merge pull request #186 from dmoose/add-src-url-3-1
Add src url 3 1
Diffstat (limited to 'lib')
-rw-r--r--lib/refinery/blog.rb1
-rw-r--r--lib/refinery/blog/configuration.rb9
2 files changed, 10 insertions, 0 deletions
diff --git a/lib/refinery/blog.rb b/lib/refinery/blog.rb
index 38f5813..e5b717f 100644
--- a/lib/refinery/blog.rb
+++ b/lib/refinery/blog.rb
@@ -7,6 +7,7 @@ module Refinery
module Blog
require 'refinery/blog/engine'
+ require 'refinery/blog/configuration'
autoload :Version, 'refinery/blog/version'
autoload :Tab, 'refinery/blog/tabs'
diff --git a/lib/refinery/blog/configuration.rb b/lib/refinery/blog/configuration.rb
new file mode 100644
index 0000000..aa1264a
--- /dev/null
+++ b/lib/refinery/blog/configuration.rb
@@ -0,0 +1,9 @@
+module Refinery
+ module Blog
+ include ActiveSupport::Configurable
+
+ config_accessor :validate_source_url
+
+ self.validate_source_url = false
+ end
+end \ No newline at end of file