Changeset 774

Show
Ignore:
Timestamp:
10/27/07 12:02:26 (1 year ago)
Author:
e.@brainspl.at
Message:

helpers are generated without being wrapped in the Merb:: namespace. closes #249

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/merb/router.rb

    r768 r774  
    271271      # +request+ object and the +params+ hash as parameters and should return a hash of params. 
    272272      # For example: 
    273       #   r.defer_to do |request, params} 
     273      #   r.defer_to do |request, params| 
    274274      #     params.merge(:controller => 'here', :action => 'there') if External.says_so? 
    275275      #   end 
  • trunk/merb_generators/merb_controller/templates/helper.rb

    r704 r774  
     1module Merb 
    12module <%= class_name %>Helper 
    23   
     4  end 
    35end