Sha256: d9dd082848b7e5b3dd990b8944a5d3e52aab135212f36f4927588b3283ff4c17

Contents?: true

Size: 279 Bytes

Versions: 1

Compression:

Stored size: 279 Bytes

Contents

require_relative './base_controller.rb'

module SweetStaging
  class HomeController < SweetStaging::BaseController

    if SweetStaging.enabled
      def index
        redirect_to sweet_staging.watch_url(name: SweetStaging.logs[0][:name])
      end
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sweet_staging-0.1.0 app/controllers/sweet_staging/home_controller.rb