aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJeff Shumate <jeff@catapulsion.net>2012-01-25 22:27:46 -0700
committerJeff Shumate <jeff@catapulsion.net>2012-01-25 22:27:46 -0700
commite274bb1757aa3c27645c181bae6164131a7a35dd (patch)
tree2c896df9bd0a66aa288bfdf8f30fe767516ec0bc /lib
parentd1ad82d42eceb53b203716e1c37f4fbb326a2ee8 (diff)
downloadrefinerycms-blog-e274bb1757aa3c27645c181bae6164131a7a35dd.tar.gz
refinerycms-blog-e274bb1757aa3c27645c181bae6164131a7a35dd.tar.bz2
refinerycms-blog-e274bb1757aa3c27645c181bae6164131a7a35dd.zip
add source url for post
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