Removed explicit return statements in table_data.rb.

This commit is contained in:
Mark Rickert
2013-06-03 11:01:59 -04:00
parent a70a4732bb
commit 86b4e397e1

View File

@@ -27,8 +27,7 @@ module ProMotion
end
table_section = self.section(params[:section])
return table_section[:cells].at(params[:index].to_i)
nil
table_section[:cells].at(params[:index].to_i)
end
def delete_cell(params={})
@@ -38,8 +37,7 @@ module ProMotion
end
table_section = self.section(params[:section])
return table_section[:cells].delete_at(params[:index].to_i)
nil
table_section[:cells].delete_at(params[:index].to_i)
end
def search(search_string)