renamed artsiteproxy to sources
This commit is contained in:
9
app/controllers/sources_controller.rb
Normal file
9
app/controllers/sources_controller.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
class SourcesController < ApplicationController
|
||||
# before_filter :member_only
|
||||
respond_to :json
|
||||
|
||||
def show
|
||||
@source = Sources::Site.new(params[:url])
|
||||
respond_with(@source)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user