Sha256: 1ea2854b534eff1619e000939392765d9f4b0600fb4bbd31fb9f4e0b2dee348f

Contents?: true

Size: 445 Bytes

Versions: 1

Compression:

Stored size: 445 Bytes

Contents

require 'part/admin/skin'
require 'part/admin/helper'

# The main Controller for the Admin part.

class AdminController < Nitro::Controller
  helper :table, :sitemap
  helper AdminHelper
  ann :self, :element_namespace => AdminSkin
  
  def self.setup_template_root(path)
    super
    @template_root << File.join(File.dirname(__FILE__),  'template')
  end
  
  def index
  end
  ann :index, :title => 'Admin', :parent_controller => '/'    
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nitro-0.40.0 lib/part/admin/controller.rb