lib/generators/havior/templates/haviors/controller.rb.erb in havior-0.1.0 vs lib/generators/havior/templates/haviors/controller.rb.erb in havior-0.1.1

- old
+ new

@@ -1,8 +1,8 @@ class <%= @module_name %>::<%= @class_name %>Controller < ApplicationController <% @actions.each do |name,method| %> - # <%= method.upcase %> /havior/<%= @file_path %>/<%= @file_name %>/<%= name %> + # <%= method.upcase %> /havior/<%= @file_path %>/<%= name %> def <%= name %> render json: { result: "success", message: "`<%= @module_name %>::<%= @class_name %>#<%= name %>`" } end <% end %>