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.99 app/controllers/ishapi/user_profiles_controller.rb
ishapi-0.1.8.97 app/controllers/ishapi/user_profiles_controller.rb
ishapi-0.1.8.96 app/controllers/ishapi/user_profiles_controller.rb
ishapi-0.1.8.95 app/controllers/ishapi/user_profiles_controller.rb
ishapi-0.1.8.91 app/controllers/ishapi/user_profiles_controller.rb
ishapi-0.1.8.87 app/controllers/ishapi/user_profiles_controller.rb
ishapi-0.1.8.86 app/controllers/ishapi/user_profiles_controller.rb
ishapi-0.1.8.85 app/controllers/ishapi/user_profiles_controller.rb
ishapi-0.1.8.84 app/controllers/ishapi/user_profiles_controller.rb
ishapi-0.1.8.83 app/controllers/ishapi/user_profiles_controller.rb
ishapi-0.1.8.82 app/controllers/ishapi/user_profiles_controller.rb
ishapi-0.1.8.81 app/controllers/ishapi/user_profiles_controller.rb
ishapi-0.1.8.80 app/controllers/ishapi/user_profiles_controller.rb
ishapi-0.1.8.79 app/controllers/ishapi/user_profiles_controller.rb
ishapi-0.1.8.78 app/controllers/ishapi/user_profiles_controller.rb
ishapi-0.1.8.77 app/controllers/ishapi/user_profiles_controller.rb
ishapi-0.1.8.76 app/controllers/ishapi/user_profiles_controller.rb
ishapi-0.1.8.75 app/controllers/ishapi/user_profiles_controller.rb
ishapi-0.1.8.74 app/controllers/ishapi/user_profiles_controller.rb
ishapi-0.1.8.73 app/controllers/ishapi/user_profiles_controller.rb