Skip to content

Commit

Permalink
Subbing root url should not be necessary with riparian config.
Browse files Browse the repository at this point in the history
  • Loading branch information
kueda committed Jul 6, 2011
1 parent 2445632 commit a18f923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/tricorder_controller.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def index
@abundance_url = @abundance_input.file.url @abundance_url = @abundance_input.file.url
end end
end end
@json_url = "#{root_url.sub(/\/$/, '')}#{@rdp_output.file.url}" if @rdp_output @json_url = @rdp_output.file.url if @rdp_output


if signed_in? if signed_in?
@user_tasks = current_user.flow_tasks.order("id desc").paginate(:page => 1) @user_tasks = current_user.flow_tasks.order("id desc").paginate(:page => 1)
Expand Down

0 comments on commit a18f923

Please sign in to comment.