Class: UzuUzu::Controller::Initialize

Inherits:
Object
  • Object
show all
Defined in:
lib/uzuuzu-cms/controller/initialize.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



6
7
8
9
10
11
12
13
14
# File 'lib/uzuuzu-cms/controller/initialize.rb', line 6

def index
  self.send("step#{info.step}")
  case(info.step)
  when 1
    respond(render_page(info, render_file(__DIR__('view/initialize/step1.rhtml'))))
  when 2
    respond(render_page(info, render_file(__DIR__('view/initialize/step2.rhtml'))))
  end
end