Exception: Flame::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::RouterError::ActionsError

Instance Method Details

#messageObject



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

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