added new version of ridc gem
This commit is contained in:
@@ -7,6 +7,7 @@ class GuessesController < ApplicationController
|
||||
# GET /guesses.json
|
||||
def index
|
||||
@guesses = Guess.all.order("created_at DESC")
|
||||
Rails.logger.info("Showing guesses!")
|
||||
end
|
||||
|
||||
|
||||
@@ -18,6 +19,7 @@ class GuessesController < ApplicationController
|
||||
@guess.definition = params[:definition]
|
||||
Rails.logger.debug(params.inspect)
|
||||
|
||||
|
||||
respond_to do |format|
|
||||
if @guess.save
|
||||
format.json { render action: 'show', status: :created, location: @guess }
|
||||
|
||||
Reference in New Issue
Block a user