Sha256: a1e6ac7fe18e06fba0decdc0b3aeaeb02e7cf6c0278586d38c20b44ebb123616

Contents?: true

Size: 233 Bytes

Versions: 9

Compression:

Stored size: 233 Bytes

Contents

class UsersController < ApplicationController
  before_filter :authenticate_user!
  before_filter :correct_user?, :except => [:index]

  def index
    @users = User.all
  end

  def show
    @user = User.find(params[:id])
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rails_apps_pages-0.5.15 lib/generators/pages/users/templates/omniauth/users_controller.rb
rails_apps_pages-0.5.14 lib/generators/pages/users/templates/omniauth/users_controller.rb
rails_apps_pages-0.5.13 lib/generators/pages/users/templates/omniauth/users_controller.rb
rails_apps_pages-0.5.12 lib/generators/pages/users/templates/omniauth/users_controller.rb
rails_apps_pages-0.5.11 lib/generators/pages/users/templates/omniauth/users_controller.rb
rails_apps_pages-0.5.10 lib/generators/pages/users/templates/omniauth/users_controller.rb
rails_apps_pages-0.5.9 lib/generators/pages/users/templates/omniauth/users_controller.rb
rails_apps_pages-0.5.8 lib/generators/pages/users/templates/omniauth/users_controller.rb
rails_apps_pages-0.5.7 lib/generators/pages/users/templates/omniauth/users_controller.rb