Permalink
Browse files

removed needless attributes converting

  • Loading branch information...
dimko committed May 9, 2011
1 parent 7cef95f commit f7d223d2f9367f8856e17cd2820d863649429bd0
Showing with 0 additions and 1 deletion.
  1. +0 −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.