app/controllers/manage/configs_controller.rb in hackathon_manager-0.10.0 vs app/controllers/manage/configs_controller.rb in hackathon_manager-0.10.1
- old
+ new
@@ -1,8 +1,11 @@
class Manage::ConfigsController < Manage::ApplicationController
before_action :limit_access_admin
+ respond_to :html, :json
+
def show
+ respond_with(Rails.configuration.hackathon)
end
private
def limit_access_admin