mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
fix coding error in readme reported in rails GH #980
This commit is contained in:
@@ -33,7 +33,7 @@ A short rundown of some of the major features:
|
||||
* Actions grouped in controller as methods instead of separate command objects
|
||||
and can therefore share helper methods
|
||||
|
||||
CustomersController < ActionController::Base
|
||||
class CustomersController < ActionController::Base
|
||||
def show
|
||||
@customer = find_customer
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user