lib/generators/guard/controller/controller_generator.rb in ixtlan-guard-0.5.0 vs lib/generators/guard/controller/controller_generator.rb in ixtlan-guard-0.6.0
- old
+ new
@@ -6,17 +6,9 @@
argument :actions, :type => :array, :default => [], :banner => "action action"
# check_class_collision :suffix => "Guard"
def create_guard_file
- template 'guard.rb', File.join('app', 'guards', class_path, "#{file_name}_guard.rb")
+ template 'guard.yml', File.join('app', 'guards', class_path, "#{file_name}_guard.yml")
end
-
- def guard_class_name
- class_name
- end
-
- def aliases
- end
-
end
end