Exception: Flame::Errors::RouterError::ExtraRoutesActionsError

Inherits:
ActionsError
  • Object
show all
Defined in:
lib/flame/errors.rb

Overview

Error if routes have more actions, than controller

Instance Method Summary collapse

Methods inherited from ActionsError

#initialize

Constructor Details

This class inherits a constructor from Flame::Errors::RouterError::ActionsError

Instance Method Details

#messageObject



14
15
16
17
# File 'lib/flame/errors.rb', line 14

def message
	"Controller '#{@ctrl}' has no methods" \
	" '#{@extra_actions.join(', ')}' from routes"
end