Skip to content

Commit

Permalink
Update lib/timeline_fu/fires.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
volodymyr-vasylyshyn committed Dec 19, 2011
1 parent 173c855 commit 77bdaf3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/timeline_fu/fires.rb
Expand Up @@ -40,11 +40,10 @@ def fires(event_type, opts)
end end
memo memo
end end

create_options[:event_type] = event_type.to_s create_options[:event_type] = event_type.to_s

TimelineEvent.create!(create_options)
end end

TimelineEvent.create!(create_options)
end end


send(:"after_#{opts[:on]}", method_name, :if => opts[:if]) send(:"after_#{opts[:on]}", method_name, :if => opts[:if])
Expand Down

0 comments on commit 77bdaf3

Please sign in to comment.