calentry edit

This commit is contained in:
Andreas Stephanides
2014-10-19 16:16:55 +02:00
parent e7bc4276db
commit e7ffb850d5
2 changed files with 8 additions and 6 deletions

View File

@@ -35,10 +35,12 @@ class CalentriesController < ApplicationController
# end
# GET /calentries/1/edit
#def edit
# @calentry = Calentry.find(params[:id])
# end
def edit
@calentry = Calentry.find(params[:id])
respond_to do |format|
format.html
end
end
# POST /calentries
# POST /calentries.json