Sha256: 5e9937821b1fcff99057ef34a80c6a5961a3cc901430029bed7ddeb56482aa25

Contents?: true

Size: 1.41 KB

Versions: 1

Compression:

Stored size: 1.41 KB

Contents

# Configure RailsBlogEngine here.

# Retrieve the current user.  This is currently used together with
# blog_admin_method to determine whether the user is an administrator.
#
# Note that this method will be called on controllers that subclass
# RailsBlogEngine::ApplicationController, which means that methods
# defined on your main ApplicationController are _not_ available.  This
# doesn't present any challenges if you're using Devise, or another
# library which defines current_user on ActionController::Base.
#Rails.application.config.rails_blog_engine.current_user_method = :current_user

# Does the current user have administrator privileges?  This will be called
# on the values returned by current_user_method, above.
#Rails.application.config.rails_blog_engine.blog_admin_method = :blog_admin?

# Which application layout should we use to render the blog?
#Rails.application.config.rails_blog_engine.layout = 'application'

# If you want to activate the built-in spam filter, visit http://akismet.com/
# and sign up for an API key.
Rails.application.config.rakismet.key = ENV['RAKISMET_KEY']

# The URL of your blog, for use by Akismet's spam filter.
Rails.application.config.rakismet.url = ENV['RAKISMET_URL']

# Disable the Akismet middleware, because it isn't needed by
# rails_blog_engine.  If you use Akismet elsewhere in your application, you
# may to set this back to true.
Rails.application.config.rakismet.use_middleware = false

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_blog_engine-0.0.4 lib/generators/rails_blog_engine/install/templates/rails_blog_engine.rb