OSDN Git Service
(root)
/
sharp4k
/
CUTEn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add /lectures page
[sharp4k/CUTEn.git]
/
CutenServer
/
app
/
controllers
/
lectures_controller.rb
diff --git
a/CutenServer/app/controllers/lectures_controller.rb
b/CutenServer/app/controllers/lectures_controller.rb
index
67a63c3
..
210b25b
100644
(file)
--- a/
CutenServer/app/controllers/lectures_controller.rb
+++ b/
CutenServer/app/controllers/lectures_controller.rb
@@
-10,6
+10,7
@@
class LecturesController < ApplicationController
else
@lectures = Lecture.all
respond_to do |format|
+ format.html
format.json { render json: @lectures }
end
end