Created
May 4, 2017 17:00
-
-
Save andrewsouthard1/8c15b0059607f76256791b78a9be9f1c to your computer and use it in GitHub Desktop.
SW pre API controller example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class FiguresController < ApplicationController | |
def index | |
@figures = Figure.all | |
render 'index.html.erb' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment