.update
  h3= link_to "#updates/#{update.id}", id: "updates/#{update.id}" do
    = update.title
  .time= l(update.created_at, format: :updates)
  .clearfix
  .comment= raw(update.comment_html)
  .media
    .social
      .update_share
        - url = project_by_slug_url(@project.permalink, update_id: update.id)
        .twitter_share= render_twitter text: "#{update.title}", url: url
        .facebook_share= render_facebook_like href: url, width: '360'
  - if can? :manage, update
    = link_to t('projects.project_updates.destroy'), project_update_path(project_id: @project.id, id: update.id), confirm: t('projects.project_updates.destroy_confirmation'), remote: true, method: :delete, class: 'destroy_update'
    .deleting_update.hide= image_tag "loading.gif"



.update
  h3= link_to "#updates/#{update.id}", id: "updates/#{update.id}" do
    = update.title
  .time= l(update.created_at, format: :updates)
  .clearfix
  .comment= raw(update.comment_html)
  .media
    .social
      .update_share
        - url = project_by_slug_url(@project.permalink, update_id: update.id, anchor: 'updates')
        .twitter_share= render_twitter text: "#{update.title}", url: url
        .facebook_share= render_facebook_like href: url, width: '360'
  - if can? :manage, update
    = link_to t('projects.project_updates.destroy'), project_update_path(project_id: @project.id, id: update.id), confirm: t('projects.project_updates.destroy_confirmation'), remote: true, method: :delete, class: 'destroy_update'
    .deleting_update.hide= image_tag "loading.gif"



Update url on twitter should use anchor to go to updates tab
Update url on twitter should use anchor to go to updates tab

jinutm/silverclass,gustavoguichard/neighborly,raksonibs/raimcrowd,rockkhuya/taydantay,jinutm/silverclass,gustavoguichard/neighborly,jinutm/silverme,jinutm/silverpro,raksonibs/raimcrowd,MicroPasts/micropasts-crowdfunding,jinutm/silveralms.com,rockkhuya/taydantay,MicroPasts/micropasts-crowdfunding,jinutm/silverprod,jinutm/silverme,jinutm/silverprod,MicroPasts/micropasts-crowdfunding,jinutm/silverpro,raksonibs/raimcrowd,jinutm/silveralms.com,jinutm/silvfinal,jinutm/silvfinal,jinutm/silverme,jinutm/silverclass,jinutm/silveralms.com,MicroPasts/micropasts-crowdfunding,jinutm/silverpro,jinutm/silverprod,rockkhuya/taydantay,jinutm/silvfinal,gustavoguichard/neighborly,raksonibs/raimcrowd