Sha256: 28ede6442bde1912a4681f334d66b4767359302d2abfa3defd314ce5e1aa7480
Contents?: true
Size: 485 Bytes
Versions: 1
Compression:
Stored size: 485 Bytes
Contents
= Seo ## Introduction ### Installation Update your Gemfile ```ruby gem 'seo' ``` run bundle install After installation ```ruby rake seo:install:migration ``` You will need to provide a before_action require_admin in an initializer create a file seo_initializer.rb in initializer directory ```ruby module Seo class ApplicationController < ActionController::Base def require_admin redirect_to(root_path) unless current_user.admin? end end end ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
seo_pages-1.0.0 | README.rdoc |