Sha256: 4d566282f50222503d21ce2ee9851ff707c07d90ddcc4aa6055c7d719ed18a1d

Contents?: true

Size: 265 Bytes

Versions: 27

Compression:

Stored size: 265 Bytes

Contents

require_dependency "ishapi/application_controller"
module Ishapi
  class UserProfilesController < ApplicationController

    def show
      @profile = IshModels::UserProfile.find_by :username => params[:username]
      authorize! :show, @profile
    end

  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
ishapi-0.1.8.72 app/controllers/ishapi/user_profiles_controller.rb
ishapi-0.1.8.71 app/controllers/ishapi/user_profiles_controller.rb
ishapi-0.1.8.70 app/controllers/ishapi/user_profiles_controller.rb
ishapi-0.1.8.69 app/controllers/ishapi/user_profiles_controller.rb
ishapi-0.1.8.68 app/controllers/ishapi/user_profiles_controller.rb
ishapi-0.1.8.67 app/controllers/ishapi/user_profiles_controller.rb
ishapi-0.1.8.66 app/controllers/ishapi/user_profiles_controller.rb