debian-mirror-gitlab/gitlab-peek/test/dummy/app/controllers/home_controller.rb

12 lines
176 B
Ruby
Raw Normal View History

2019-12-06 12:11:25 +05:30
class HomeController < ApplicationController
def enabled
@peek_enabled = true
render :show
end
def disabled
@peek_enabled = false
render :show
end
end