Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated asset_packager_extension.rb and tasks.

  • Loading branch information...
commit 0ffc4d8c99dd0109c12f636c9c2105c6778a358c 1 parent 71d25cb
@nelstrom authored
Showing with 6 additions and 18 deletions.
  1. +4 −17 asset_packager_extension.rb
  2. +2 −1  tasks.todo
View
21 asset_packager_extension.rb
@@ -1,23 +1,10 @@
-# Uncomment this if you reference any of your controllers in activate
-# require_dependency 'application'
-
class AssetPackagerExtension < Radiant::Extension
- version "1.0"
- description "Describe your extension here"
- url "http://yourwebsite.com/asset_packager"
-
- # define_routes do |map|
- # map.namespace :admin, :member => { :remove => :get } do |admin|
- # admin.resources :asset_packager
- # end
- # end
+ version "0.1"
+ description "An asset packager for Radiant, allowing you to server minified css and js files from your public directory."
+ url "http://wiki.github.com/nelstrom/radiant-asset_packager-extension"
def activate
- # admin.tabs.add "Asset Packager", "/admin/asset_packager", :after => "Layouts", :visibility => [:all]
- end
-
- def deactivate
- # admin.tabs.remove "Asset Packager"
+ Page.send :include, AssetPackagerTags
end
end
View
3  tasks.todo
@@ -1,4 +1,5 @@
-rake update:
+rake tasks:
+- include tasks from asset_packager rails plugin
✓ to copy config/asset_packages.yml
submodules:
Please sign in to comment.
Something went wrong with that request. Please try again.