diff options
| author | mo k <mo@mokhan.ca> | 2012-06-11 21:04:50 -0600 |
|---|---|---|
| committer | mo k <mo@mokhan.ca> | 2012-06-11 21:04:50 -0600 |
| commit | 516f8bf81c660bc4af9b47ef295bb3f26f33f995 (patch) | |
| tree | 1cca2126409deb5f2cf2b8648bf962b237622636 /app/controllers/comments_controller.rb | |
| parent | d07b24c0d161cacc8394da3cf33ba505b8df6091 (diff) | |
move command_for to application controller.
Diffstat (limited to 'app/controllers/comments_controller.rb')
| -rw-r--r-- | app/controllers/comments_controller.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/controllers/comments_controller.rb b/app/controllers/comments_controller.rb index 6ea6f0b1..755e53fd 100644 --- a/app/controllers/comments_controller.rb +++ b/app/controllers/comments_controller.rb @@ -10,8 +10,4 @@ class CommentsController < ApplicationController flash[:notice] = params[:comment][:body] redirect_to :controller => 'creations', :action => 'show', :id => params[:creation_id] end - - def command_for(command) - command.new(current_user) - end end |
