Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def issue_id(params)
- return unless time_entry_class
- params[:comment].match(/#\s?(\d+)/).try(:[], 1).try(:to_i)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement