Class: ProfileCategoriesController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/profile_categories_controller.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) show



4
5
6
7
8
9
10
11
12
13
# File 'app/controllers/profile_categories_controller.rb', line 4

def show
  @profile_category = ProfileCategory.find(params[:id])
  @profile_categories = ProfileCategory.all
  @other_profiles = Profile.live.limit(5)
  # @profiles = @profile_category.profiles.paginate({
  #       :page => params[:page],
  #       :per_page => RefinerySetting.find_or_set(:profiles_per_page, 10)
  #     })
  #     render :template => 'profiles/index'
end