Class: AdminController

Inherits:
Nitro::Controller show all
Defined in:
lib/part/admin/controller.rb

Overview

The main Controller for the Admin part.

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Nitro::Controller

current, mounted, replace_current

Methods included from Nitro::Helpers

append_features

Methods included from Nitro::Caching

included

Methods included from Nitro::Scaffolding

class_to_list, class_to_method, class_to_path, included

Methods included from Nitro::Publishable

included

Class Method Details

.setup_template_root(path) ⇒ Object



11
12
13
14
# File 'lib/part/admin/controller.rb', line 11

def self.setup_template_root(path)
  super
  @template_root << File.join(File.dirname(__FILE__),  'template')
end

Instance Method Details

#indexObject



16
17
# File 'lib/part/admin/controller.rb', line 16

def index
end