| 
				
				
					
				
				
				 | 
			
			 | 
			@@ -24,12 +24,11 @@ class TagsController < ApplicationController | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            .group('tags.id') | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            .order('post_count DESC, tags.name ASC') | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			            .limit(20)) | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    render json: tags.map do |tag| | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			      { id:       tag.id, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    render json: tags.map { |tag| { | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        id:       tag.id, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        name:     tag.name, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        category: tag.category, | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        count:    tag.post_count } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			    end | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			        count:    tag.post_count } } | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  end | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			
  | 
		
		
	
		
			
			 | 
			 | 
			
			 | 
			  def show | 
		
		
	
	
		
			
				| 
				
					
				
				
				
				 | 
			
			 | 
			
  |