Sha256: e959aabfdb9dce509fada4848dc5ad60306dd0e31bc6ddca215362da9b920369

Contents?: true

Size: 311 Bytes

Versions: 8

Compression:

Stored size: 311 Bytes

Contents

class IshManager::UserProfilesController < IshManager::ApplicationController

  def index
    @user_profiles = IshModels::UserProfile.all
    authorize! :index, IshModels::UserProfile
  end

  def show
    @user_profile = IshModels::UserProfile.find params[:id]
    authorize! :show, @user_profile
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ish_manager-0.1.8.36 app/controllers/ish_manager/user_profiles_controller.rb
ish_manager-0.1.8.35 app/controllers/ish_manager/user_profiles_controller.rb
ish_manager-0.1.8.34 app/controllers/ish_manager/user_profiles_controller.rb
ish_manager-0.1.8.33 app/controllers/ish_manager/user_profiles_controller.rb
ish_manager-0.1.8.32 app/controllers/ish_manager/user_profiles_controller.rb
ish_manager-0.1.8.31 app/controllers/ish_manager/user_profiles_controller.rb
ish_manager-0.1.8.30 app/controllers/ish_manager/user_profiles_controller.rb
ish_manager-0.1.8.29 app/controllers/ish_manager/user_profiles_controller.rb