Guest User

Untitled

a guest
Jul 20th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. class Admin::AuditsController < ApplicationController
  2. def create
  3. @audit = Audit.new params[:audit]
  4.  
  5. if @audit.valid?
  6. # ...
  7. else
  8. render :action => 'new'
  9. end
  10. end
  11. end
Add Comment
Please, Sign In to add comment