diff options
| author | mo k <mo@mokhan.ca> | 2012-11-01 22:51:12 -0600 |
|---|---|---|
| committer | mo k <mo@mokhan.ca> | 2012-11-01 22:51:12 -0600 |
| commit | 52ee69e03c07191f4af85c3370dfa1949eb8a5b9 (patch) | |
| tree | 93c709647fd6beebf13077bf11d8975ddd4fa7e0 /app/controllers/application_controller.rb | |
| parent | aec1677e03e841938f92de2abf3c5e080f0d96dd (diff) | |
add query object to lookup all creations.
Diffstat (limited to 'app/controllers/application_controller.rb')
| -rw-r--r-- | app/controllers/application_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 09bdba61..27f1ad77 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,7 +1,7 @@ class ApplicationController < ActionController::Base protect_from_forgery - def command_for(command) - command.new(current_user) + def resolve(target) + target.new(current_user) end end |
