debian-mirror-gitlab/gitlab-peek/test/dummy/app/controllers/home_controller.rb
2019-12-06 12:11:25 +05:30

11 lines
176 B
Ruby

class HomeController < ApplicationController
def enabled
@peek_enabled = true
render :show
end
def disabled
@peek_enabled = false
render :show
end
end