summaryrefslogtreecommitdiff
path: root/app/controllers/tutorials_controller.rb
diff options
context:
space:
mode:
authormo k <mo@mokhan.ca>2013-02-09 15:47:04 -0700
committermo k <mo@mokhan.ca>2013-02-09 15:47:04 -0700
commitead8642626b468c56c0e75367bfdeec4d8939ec0 (patch)
treef051b2f0cbaeb15bd221f7b9d7c046ffd944ada6 /app/controllers/tutorials_controller.rb
parentca645e06cdb5e9f271c71ae7cce23512bc5bdc83 (diff)
add me box to the add creation and add tutorial pages.
Diffstat (limited to 'app/controllers/tutorials_controller.rb')
-rw-r--r--app/controllers/tutorials_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/tutorials_controller.rb b/app/controllers/tutorials_controller.rb
index 839ea11b..5c57056b 100644
--- a/app/controllers/tutorials_controller.rb
+++ b/app/controllers/tutorials_controller.rb
@@ -11,6 +11,7 @@ class TutorialsController < ApplicationController
def new
@tutorial = Tutorial.new
+ @user = current_user
end
def edit