<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -4,7 +4,7 @@ module SilkyButtonsHelper
     image_tag &quot;/images/silk/icons/#{img}&quot;, options
   end
 
-  def submit_resource_button(text, options={})
+  def submit_button(text, options={})
     options[:text]      = text
     options[:type]      = &quot;submit&quot;
     options[:icon]      ||= &quot;tick.png&quot;
@@ -15,34 +15,30 @@ module SilkyButtonsHelper
     options.merge!({ :class =&gt; &quot;button #{options[:class]}&quot; })
     content_tag :button, options[:text], options.delete_if { |k, v| [:icon, :text].include? k }
   end
-  alias_method :submit_button, :submit_resource_button
 
-  def show_resource_button(resource, options={})
+  def show_button(resource, options={})
     options[:icon]  ||= &quot;eye.png&quot;
     options[:text]  ||= &quot;Show #{resource.class.to_s.humanize}&quot;
     options[:path]  ||= polymorphic_path(resource)
     resource_button(resource, options)
   end
-  alias_method :show_button, :show_resource_button
 
-  def new_resource_button(resource, options={})
+  def new_button(resource, options={})
     options[:class]   = &quot;positive #{options[:class]}&quot;
     options[:icon]  ||= &quot;add.png&quot;
     options[:text]  ||= &quot;New #{resource.class.to_s.humanize}&quot;
     options[:path]  ||= new_polymorphic_path(resource)
     resource_button(resource, options)
   end
-  alias_method :new_button, :new_resource_button
 
-  def edit_resource_button(resource, options={})
+  def edit_button(resource, options={})
     options[:icon]  ||= &quot;pencil.png&quot;
     options[:text]  ||= &quot;Edit #{resource.class.to_s.humanize}&quot;
     options[:path]  ||= edit_polymorphic_path(resource)
     resource_button(resource, options)
   end
-  alias_method :edit_button, :edit_resource_button
 
-  def destroy_resource_button(resource, options={})
+  def destroy_button(resource, options={})
     options[:class]   = &quot;negative #{options[:class]}&quot;
     options[:method]  ||= :delete
     options[:confirm] ||= &quot;Are you sure?&quot;
@@ -51,7 +47,6 @@ module SilkyButtonsHelper
     options[:path]    ||= polymorphic_path(resource)
     resource_button(resource, options)
   end
-  alias_method :destroy_button, :destroy_resource_button
 
   def resource_button(resource, options={})
     options[:text]        ||= resource.class.to_s.humanize</diff>
      <filename>generators/silky_buttons/templates/helpers/silky_buttons_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>914c161c7aad6a51802b9c9367918fee2e8ca74d</id>
    </parent>
  </parents>
  <author>
    <name>Russell Jones</name>
    <email>spam@codeofficer.com</email>
  </author>
  <url>http://github.com/CodeOfficer/silky-buttons-for-rails/commit/c0155ebfd465643fef28d5ba6ad7c29cb0117fad</url>
  <id>c0155ebfd465643fef28d5ba6ad7c29cb0117fad</id>
  <committed-date>2009-03-13T11:05:15-07:00</committed-date>
  <authored-date>2009-03-13T11:05:15-07:00</authored-date>
  <message>refactoring a little</message>
  <tree>25b4f09790ea13ad8e21fea4e2d59705a803ed2b</tree>
  <committer>
    <name>Russell Jones</name>
    <email>spam@codeofficer.com</email>
  </committer>
</commit>
