Skip to content
Browse files

removed needless attributes converting

  • Loading branch information...
1 parent 7cef95f commit f7d223d2f9367f8856e17cd2820d863649429bd0 @dimko dimko committed
Showing with 0 additions and 1 deletion.
  1. +0 −1 app/models/user/posting.rb
View
1 app/models/user/posting.rb
@@ -5,7 +5,6 @@ class User
# - changes forum_id if you're an admin
#
def post(forum, attributes)
- attrs = attributes.to_hash.symbolize_keys
Topic.new(attributes) do |topic|
topic.forum = forum
topic.user = self

0 comments on commit f7d223d

Please sign in to comment.
Something went wrong with that request. Please try again.