summaryrefslogtreecommitdiff
path: root/app/models/tutorial.rb
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-07-20 08:48:35 -0600
committermo khan <mo@mokhan.ca>2014-07-20 08:48:35 -0600
commita4aac3783c9e0bb496de50fc288f4b85b82aab39 (patch)
tree69dfcc73de64d09dd471f1c9281557d63728a831 /app/models/tutorial.rb
parent969cae58d4fbc2f74595d06879e53bcd4ce9d120 (diff)
add create action to tutorials controller.
Diffstat (limited to 'app/models/tutorial.rb')
-rw-r--r--app/models/tutorial.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/tutorial.rb b/app/models/tutorial.rb
index 4e6456e5..1dde153e 100644
--- a/app/models/tutorial.rb
+++ b/app/models/tutorial.rb
@@ -1,5 +1,5 @@
class Tutorial < ActiveRecord::Base
- validates :url, :presence => true
+ validates :url, presence: true
belongs_to :user
acts_as_taggable