Permalink
Browse files

Update lib/timeline_fu/fires.rb

  • Loading branch information...
1 parent 173c855 commit 77bdaf3f1bc7234ea1bb1f064be0a6ac987d2902 @volodymyr-vasylyshyn committed Dec 19, 2011
Showing with 3 additions and 4 deletions.
  1. +3 −4 lib/timeline_fu/fires.rb
View
@@ -40,11 +40,10 @@ def fires(event_type, opts)
end
memo
end
+
create_options[:event_type] = event_type.to_s
-
- end
-
- TimelineEvent.create!(create_options)
+ TimelineEvent.create!(create_options)
+ end
end
send(:"after_#{opts[:on]}", method_name, :if => opts[:if])

0 comments on commit 77bdaf3

Please sign in to comment.