test/dummy/app/controllers/articles_controller.rb in paper_trail-3.0.1 vs test/dummy/app/controllers/articles_controller.rb in paper_trail-3.0.2
- old
+ new
@@ -5,6 +5,10 @@
else
@article = Article.create params.require(:article).permit!
end
head :ok
end
+
+ def current_user
+ 'foobar'
+ end
end