mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-12 02:14:22 +01:00
fix failing tests
This commit is contained in:
parent
463757a338
commit
514045e8cb
5 changed files with 10 additions and 8 deletions
|
|
@ -28,7 +28,7 @@ class FeedlistController < ApplicationController
|
|||
def get_feeds_for_context
|
||||
@context = current_user.contexts.find params[:context_id]
|
||||
respond_to do |format|
|
||||
format.html { render :text => "This page should not be called directly"}
|
||||
format.html { render :file => 'feedlist/get_feeds_for_context'}
|
||||
format.js
|
||||
end
|
||||
end
|
||||
|
|
@ -36,7 +36,7 @@ class FeedlistController < ApplicationController
|
|||
def get_feeds_for_project
|
||||
@project = current_user.projects.find params[:project_id]
|
||||
respond_to do |format|
|
||||
format.html { render :text => "This page should not be called directly"}
|
||||
format.html { render :file => "feedlist/get_feeds_for_project"}
|
||||
format.js
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue