Sha256: 6ab3ea3430baa2aaf9f35ed4a961236c07f29f962ff581123edc3e9de00a09ca

Contents?: true

Size: 181 Bytes

Versions: 18

Compression:

Stored size: 181 Bytes

Contents

class UsersController < ApplicationController
  before_filter :authenticate_user!

  def index
    @users = User.all
  end

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

end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
rails_apps_pages-0.3.1 lib/generators/pages/users/templates/users_controller.rb
rails_apps_pages-0.3.0 lib/generators/pages/users/templates/users_controller.rb
rails_apps_pages-0.2.0 lib/generators/pages/users/templates/users_controller.rb
rails_apps_pages-0.1.0 lib/generators/pages/users/templates/users_controller.rb
ratchetio-0.5.5 spec/dummyapp/app/controllers/users_controller.rb
ratchetio-0.5.3 spec/dummyapp/app/controllers/users_controller.rb
ratchetio-0.5.2 spec/dummyapp/app/controllers/users_controller.rb
ratchetio-0.5.1 spec/dummyapp/app/controllers/users_controller.rb
ratchetio-0.5.0 spec/dummyapp/app/controllers/users_controller.rb
ratchetio-0.4.11 spec/dummyapp/app/controllers/users_controller.rb
ratchetio-0.4.10 spec/dummyapp/app/controllers/users_controller.rb
ratchetio-0.4.9 spec/dummyapp/app/controllers/users_controller.rb
ratchetio-0.4.8 spec/dummyapp/app/controllers/users_controller.rb
ratchetio-0.4.7 spec/dummyapp/app/controllers/users_controller.rb
ratchetio-0.4.6 spec/dummyapp/app/controllers/users_controller.rb
ratchetio-0.4.5 spec/dummyapp/app/controllers/users_controller.rb
ratchetio-0.4.4 spec/dummyapp/app/controllers/users_controller.rb
ratchetio-0.4.3 spec/dummyapp/app/controllers/users_controller.rb