app/controllers/muck/feed_previews_controller.rb in muck-services-0.1.47 vs app/controllers/muck/feed_previews_controller.rb in muck-services-3.0.0
- old
+ new
@@ -2,27 +2,19 @@
unloadable
def new
respond_to do |format|
- format.pjs do
- render_as_html do
- render :template => 'feed_previews/new', :layout => false
- end
- end
+ format.pjs { render :template => 'feed_previews/new', :layout => false }
format.html { render :template => 'feed_previews/new' }
end
end
def select_feeds
@feed = Feed.new(params[:feed])
@feeds = Feed.gather_information(@feed.uri).compact
respond_to do |format|
- format.pjs do
- render_as_html do
- render :template => 'feed_previews/select_feeds', :layout => false
- end
- end
+ format.pjs { render :template => 'feed_previews/select_feeds', :layout => false }
format.html { render :template => 'feed_previews/select_feeds' }
end
end
def create
\ No newline at end of file