Skip to content

Instantly share code, notes, and snippets.

View rigelstpierre's full-sized avatar

Rigel St. Pierre rigelstpierre

View GitHub Profile
@rigelstpierre
rigelstpierre / app.js
Created October 14, 2015 15:12
React App
import React from "react";
import Nav from "./nav";
require('./stylesheets/style.scss');
React.render(
<Nav />,
document.body
);
@rigelstpierre
rigelstpierre / artist_presenter.rb
Created March 31, 2016 14:56
artist_presenter.rb
class ArtistPresenter < BasePresenter
include DecoratorHelpers
def initialize(artist, options={})
super(artist)
@current_user = options[:user]
@score = options[:score]
end
def to_hash