-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial spike on discussions stub + controller
- Loading branch information
1 parent
8c3f61f
commit 30e803d
Showing
3 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
class DiscussionsController < ApplicationController | ||
def index | ||
render :text => Discussion.reviews | ||
end | ||
end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
class Discussion | ||
def self.conversations | ||
[ "How awesome is Jordan Byron?", | ||
"How many unicorns does it take to make a rainbow?", | ||
"Can someone ask a serious question please?" ] | ||
end | ||
|
||
def self.evaluations | ||
[ "My s10-e2 is ready for evaluation", | ||
"Revisions have been made to my s10-e1", | ||
"Come on, evaluate it, you know you want to!" ] | ||
end | ||
|
||
def self.reviews | ||
["Messy first spike on my individual project", | ||
"Proof of concept patch to add archives to Newman", | ||
"If you don't review this soon, I might go crazy!"] | ||
end | ||
end |
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