Class: SimplecovUrl::SimplecovController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- SimplecovUrl::SimplecovController
- Defined in:
- app/controllers/simplecov_url/simplecov_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
5 6 7 8 9 10 11 |
# File 'app/controllers/simplecov_url/simplecov_controller.rb', line 5 def index html = SimplecovUrl::HtmlProcessor.call return head(403) unless html render html: html end |