Class: Deployed::SetupController

Inherits:
ApplicationController show all
Defined in:
app/controllers/deployed/setup_controller.rb

Overview

Provides a way to setup ./config/deploy.yml

Instance Method Summary collapse

Instance Method Details

#createObject



12
13
14
15
16
17
18
# File 'app/controllers/deployed/setup_controller.rb', line 12

def create
  `kamal init`

  respond_to do |format|
    format.html { redirect_to root_path }
  end
end

#newObject



6
7
8
9
10
# File 'app/controllers/deployed/setup_controller.rb', line 6

def new
  respond_to do |format|
    format.html
  end
end