spring-peepers-2014/TravelBlog — pull request #118 by femmestem (2014-06-17 22:54:33+00:00)
Title: Chore/refactor location pin to js mvc

Add javascript app initializer javascript to initialize controllers for Map, Trip, Post, LocationPin
Refactor LocationPin for OOJS / JS MVC design patterns
- LocationPin#index returns JSON to an AJAX request
- Add JS LocationPin model

Move `before_action :validate_user` from AppController to individual controllers for clarity.