Sha256: 00c340fa652b65909e03989a21a5c698d7c5d1eb8a677efec8d58b3e896e4588

Contents?: true

Size: 435 Bytes

Versions: 1

Compression:

Stored size: 435 Bytes

Contents

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

# The main Controller for the Admin part.

class AdminController < Nitro::Controller
  helper :table
  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.41.0 lib/part/admin/controller.rb