Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6de8287cfb
Fetching contributors…

Cannot retrieve contributors at this time

file 23 lines (18 sloc) 0.539 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
# Uncomment this if you reference any of your controllers in activate
# require_dependency 'application_controller'

class EscapeExtension < Radiant::Extension
  version "1.0"
  description "Radius tags for escaping content"
  url "http://saturnflyer.com"
  
  # define_routes do |map|
  # map.namespace :admin, :member => { :remove => :get } do |admin|
  # admin.resources :escape
  # end
  # end
  
  def activate
    Page.class_eval { include EscapeTags }
  end
  
  def deactivate
    # admin.tabs.remove "Escape"
  end
  
end
Something went wrong with that request. Please try again.