Class: Headword::UsersController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Headword::UsersController
- Defined in:
- app/controllers/headword/users_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
5 6 7 8 |
# File 'app/controllers/headword/users_controller.rb', line 5 def show @user = ::User.find_by_url!(params[:username]) render :template => 'users/show' if @user end |