diff options
Diffstat (limited to 'actionpack/examples/blog_controller.cgi')
-rwxr-xr-x | actionpack/examples/blog_controller.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/examples/blog_controller.cgi b/actionpack/examples/blog_controller.cgi index e64fe85f0c..b0c14033a2 100755 --- a/actionpack/examples/blog_controller.cgi +++ b/actionpack/examples/blog_controller.cgi @@ -14,7 +14,7 @@ class BlogController < ActionController::Base render_template <<-"EOF" <html><body> - <%= @flash["alert"] %> + <%= flash["alert"] %> <h1>Posts</h1> <% @posts.each do |post| %> <p><b><%= post.title %></b><br /><%= post.body %></p> @@ -50,4 +50,4 @@ begin BlogController.process_cgi(CGI.new) if $0 == __FILE__ rescue => e CGI.new.out { "#{e.class}: #{e.message}" } -end
\ No newline at end of file +end |