Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a81af33623
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (12 sloc) 0.389 kb
# encoding: utf-8
class Admin::FixturesController < Admin::BaseController
def index
end
def create
event = Event.find( params[:event_id] )
text = params[:text]
reader = SportDB::Reader.new
reader.load_fixtures_from_string( event.key, text )
render :text => "done; hello fixtures for event #{event.key} >>#{text}<<"
end
end
Jump to Line
Something went wrong with that request. Please try again.