markbates / mack

A Ruby web application framework

This URL has Read+Write access

mack / test / fake_application / app / controllers / tattle_controller.rb
88430a20 » markbates 2008-08-07 Feature: Tell Messaging [#5... 1 class TattleController
2 include Mack::Controller
3
4 def set_tell
5 tell[:notice] = params[:say]
6 render(:action, :read_tell)
7 end
8
9 def set_tell_and_redirect
10 tell[:notice] = params[:say]
11 redirect_to(read_tell_url)
12 end
13
14 def read_tell
15 end
16
17 end