Class: MagicLamp::LintController

Inherits:
ApplicationController show all
Defined in:
app/controllers/magic_lamp/lint_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



3
4
5
6
7
8
9
10
# File 'app/controllers/magic_lamp/lint_controller.rb', line 3

def index
  config_errors? && return
  errors = MagicLamp.lint_fixtures
  file_errors?(errors) && return
  fixture_errors?(errors) && return

  render :no_errors
end