Skip to content

Commit

Permalink
error if old setup method is used
Browse files Browse the repository at this point in the history
  • Loading branch information
iamnoah committed Jun 20, 2012
1 parent 87c19d3 commit 1d6b7ee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions controller.coffee
Expand Up @@ -83,6 +83,9 @@ else
init: (s) ->
support = s

exports.setupControllerActions = ->
throw new Error('setupControllerActions has changed to the static setupController function')

exports.setupController = (args...)->
Inject.setup.arg(1,getOptions).apply(this,arguments)
setup = this.prototype.setup
Expand Down
3 changes: 3 additions & 0 deletions controller.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1d6b7ee

Please sign in to comment.