10 lines
194 B
Ruby
10 lines
194 B
Ruby
class SourcesController < ApplicationController
|
|
# before_filter :member_only
|
|
respond_to :json
|
|
|
|
def show
|
|
@source = Sources::Site.new(params[:url])
|
|
respond_with(@source)
|
|
end
|
|
end
|