OSDN Git Service

Add /lectures page
[sharp4k/CUTEn.git] / CutenServer / app / controllers / lectures_controller.rb
index 67a63c3..210b25b 100644 (file)
@@ -10,6 +10,7 @@ class LecturesController < ApplicationController
     else
       @lectures = Lecture.all
       respond_to do |format|
+        format.html
         format.json { render json: @lectures }
       end
     end