lib/generators/zoo/authentication/USAGE in zoo-generators-0.1.0 vs lib/generators/zoo/authentication/USAGE in zoo-generators-0.1.1
- old
+ new
@@ -39,8 +39,8 @@
<% end %>
You can also restrict unregistered users from accessing a controller using
a before filter. For example.
- before_filter :login_required, :except => [:index, :show]
+ before_filter :login_required, except: [:index, :show]
See the generated file lib/authentication.rb for details.
\ No newline at end of file