Remove email column and index. Fix schema.
[b4.git] / app / controllers / tags_controller.rb
blob40580adc46d09deaec67d330e4cb7e311322b429
1 class TagCloudController < ApplicationController
2   before_filter :authenticate_user!
3   def index
4     tags = User.find(current_user).links.tag_counts_on(:tags)
5     render :json => tags
6   end
7 end