Updated flash messages, updated permissions, and added debuging output
I updated the flash messages to incude :alert, :error, and :success. This will make the output much easier to read. The debugging output was added to the index view. it now displays the number of params passed, and prints out each param on a seperate line
This commit is contained in:
1 parent
3e847fdacc
commit
e7c1c3226b
4 files changed
+17
-161
No files matched your search
Regular → Executable
+10
@@ -1,2 +1,12 @@
|
||||
<h1>Exception Handler</h1>
|
||||
<br/>
|
||||
<strong>Number of params:</strong> <%= params.size %>
|
||||
<br/>
|
||||
<br/>
|
||||
<strong>Params:</strong>
|
||||
<% params.each do |param| %>
|
||||
<br/>
|
||||
<%= param %>
|
||||
<% end %>
|
||||
|
||||
<%= @output %>
|
||||
Reference in new issue
Block a user