matching vertex of object to another


i want the origin point of that object to match up with the edge of the cube there. ive tried making the cube edge my origin point and move object to origin but it wont work either

the magnet is a snap tool.
https://s19.postimg.org/bbpznz3f7/GIFrecord_2016_08_14_081247.gif

yea i use magnet but with cntrl. problem is that it doesnt snap where i want in this case

Use Centre or Median option if Closest don’t fit.