public
Description: A Ruby web application framework
Homepage: http://www.mackframework.com
Clone URL: git://github.com/markbates/mack.git
Click here to lend your support to: mack and make a donation at www.pledgie.com !
mack / test / fake_application / app / controllers / tattle_controller.rb
100644 17 lines (13 sloc) 0.271 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class TattleController
  include Mack::Controller
  
  def set_tell
    tell[:notice] = params[:say]
    render(:action, :read_tell)
  end
  
  def set_tell_and_redirect
    tell[:notice] = params[:say]
    redirect_to(read_tell_url)
  end
  
  def read_tell
  end
  
end