Permalink
Browse files

added link in admin/plugins when found mateched routes.

  • Loading branch information...
1 parent 48d6fd1 commit 9547e73944d8ab73ac4394d54176525914567c7d @komagata committed Nov 7, 2010
Showing with 1 addition and 6 deletions.
  1. +0 −5 lib/lokka/rbconfig.rb
  2. +1 −1 views/index.haml
View
@@ -1,12 +1,7 @@
-require 'lokka'
require 'rbconfig'
module Lokka
module Rbconfig
- include Lokka::Plugin
-
- have_page
-
def self.registered(app)
app.get '/admin/plugins/rbconfig' do
haml :"plugin/lokka-rbconfig/views/index", :layout => :"admin/layout"
View
@@ -1,6 +1,6 @@
- content_for :head_last do
%link{:rel => 'stylesheet', :href => '/plugin/lokka-rbconfig/views/style.css', :type => 'text/css'}
-%h2 RbConfig
+%h2 Rbconfig
%dl.rbconfigs
- Config::CONFIG.each do |key, value|
%dt= key

0 comments on commit 9547e73

Please sign in to comment.