Class: Fcid::UsersController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Fcid::UsersController
- Defined in:
- app/controllers/fcid/users_controller.rb
Instance Method Summary collapse
- #create ⇒ Object
- #destroy ⇒ Object
-
#new ⇒ Object
Be sure to include AuthenticationSystem in Application Controller instead.
Instance Method Details
#create ⇒ Object
17 18 19 20 21 22 23 24 |
# File 'app/controllers/fcid/users_controller.rb', line 17 def create @user = Fcid::User.new params[:fcid_user] if @user.save # it will render an create.html.erb else render :action=>"new" end end |
#destroy ⇒ Object
14 15 |
# File 'app/controllers/fcid/users_controller.rb', line 14 def destroy end |