- content_for :page_content do
  .updates[data-path=project_updates_path(@project)]
    - if can? :update, @project
      = render template: 'projects/updates/new'

    .list
      - if collection.any?
        = render collection
      - else
        p = t('.empty')

    .updates-loading.loading= image_tag "loading.gif"

- if request.xhr?
  = yield :page_content
- else
  = render template: 'projects/show' 

- content_for :page_content do
  = initjs_tag app_name: 'Neighborly', partial: true
  .updates[data-path=project_updates_path(@project)]
    - if can? :update, @project
      = render template: 'projects/updates/new'

    .list
      - if collection.any?
        = render collection
      - else
        p = t('.empty')

    .updates-loading.loading= image_tag "loading.gif"

- if request.xhr?
  = yield :page_content
- else
  = render template: 'projects/show' 

Add initjs tag for use partial for project updates
Add initjs tag for use partial for project updates

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