Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (16 sloc) 0.562 kb
# Uncomment this if you reference any of your controllers in activate
# require_dependency 'application'
class NavigationTagsExtension < Radiant::Extension
version "2.0"
description "Makes building navigations much easier."
url "http://yourwebsite.com/navigation_tags"
# define_routes do |map|
# map.connect 'admin/navigation_tags/:action', :controller => 'admin/navigation_tags'
# end
def activate
Page.send :include, NavigationTags
admin.pages.edit.add :layout_row, "admin/pages/navigation"
end
def deactivate
end
end
Jump to Line
Something went wrong with that request. Please try again.