samples/rails/moled/app/controllers/fred_controller.rb in rackamole-0.0.1 vs samples/rails/moled/app/controllers/fred_controller.rb in rackamole-0.0.2
- old
+ new
@@ -1,4 +1,13 @@
class FredController < ApplicationController
def index
+ session[:fred] = 'hello'
+ end
+
+ def edit
+ raise 'Oh snap!'
+ end
+
+ def show
+ @id = params[:id]
end
end
\ No newline at end of file