app/controllers/clipster/users_controller.rb in clipster-0.4.0 vs app/controllers/clipster/users_controller.rb in clipster-0.4.1

- old
+ new

@@ -1,17 +1,17 @@ -require_dependency "clipster/application_controller" - -module Clipster - class UsersController < ApplicationController - def index - - end - - def show - @user = Clipster.config.user_class.find(params[:id]) - - @clips = Clip.public.where(:user_id => @user.id).page(params[:page]) - - @languages = Clip.select("language, count(*) as count").group(:language) - end - end -end +require_dependency "clipster/application_controller" + +module Clipster + class UsersController < ApplicationController + def index + + end + + def show + @user = Clipster.config.user_class.find(params[:id]) + + @clips = Clip.public.where(:user_id => @user.id).page(params[:page]) + + @languages = Clip.select("language, count(*) as count").group(:language) + end + end +end