# File lib/generators/oauth_provider/templates/clients_controller.rb, line 14 def create @client_application = current_user.client_applications.build(params[:client_application]) if @client_application.save flash[:notice] = "Registered the information successfully" redirect_to :action => "show", :id => @client_application.id else render :action => "new" end end