donphan/app/controllers/shares_controller.rb