class TagsController < ApplicationController

  def show
    @tag = params[:id] =~ /^\d+$/ ? Tag.find(params[:id]) : Tag.find_by_name(params[:id])
  end

end

class TagsController < ApplicationController

  def show
    @tag = params[:id].to_s =~ /^\d+$/ ? Tag.find(params[:id]) : Tag.find_by_name(params[:id])
  end

end

Fix integer being passed from functional test.
Fix integer being passed from functional test.
